Kotlin: Listener for Done button on EditText?

Question or issue of Kotlin Programming: If I have an EditText and I want to listen for if the user presses the “done” button on the keypad.. how would I do this? How to solve this issue? Solution no. 1: Code is final EditText edittext = (EditText) findViewById(R.id.edittext); edittext.setOnKeyListener(new View.OnKeyListener() { public boolean onKey(View v, […]

Continue Reading