which 'on' method is called when the trackball's 'Select' button is pressed?
-
14-11-2019 - |
Pregunta
which 'on' event is invoked when the user selects a ListView item by pressing the trackball button? i trapped onKeyDown, onTouchEvent, onTrackballEvent but it's none of those... thanks
Solución
That is a "click" and triggers your OnItemClickListener
(or onListItemClick()
if you are implementing a ListActivity
).
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow