Конец курсора Kotlin EditText

editText.setSelection(editText.length())//placing cursor at the end of the text
abdullah