Problem with keyboard listener in kotlin android
In kotlin android code i have an input text, i added an event listener setOnKeyListener and work fine with keyboard on my PC but when use internal mobile keyboard (i think soft kyboard not working)
binding.notes.setOnKeyListener(View.OnKeyListener { v, keyCode, event ->
if (event.action == KeyEvent.ACTION_UP) {
// my code...
},
false
}