kolomCari.setOnEditorActionListener((textView, i, keyEvent) -> {
boolean handle = false;
if (i == EditorInfo.IME_ACTION_DONE){
Toast.makeText(getContext(),kolomCari.getText().toString().trim(),Toast.LENGTH_LONG).show();
handle = true;
}
return handle;
});
Created
October 23, 2019 02:21
-
-
Save malikkurosaki/1dded437bb4a529cddbfbdb1d35c96db to your computer and use it in GitHub Desktop.
cara menangani enter pada edit text
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment