richeditor-android icon indicating copy to clipboard operation
richeditor-android copied to clipboard

How do I set the cursor's position?

Open openmotion opened this issue 6 years ago • 2 comments

hello how can i set the cursor to the last position of the text this method doesn't exist

(val editText = findViewById(R.id.edittext_id) as EditText) editText.setSelection(editText.text.length)

thanks

openmotion avatar Jan 17 '20 15:01 openmotion

同问

liudaohong avatar Apr 27 '20 11:04 liudaohong

focusEditor();can move to the end

liudaohong avatar Apr 28 '20 01:04 liudaohong