which 'on' method is called when the trackball's 'Select' button is pressed?
-
14-11-2019 - |
Pergunta
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
Solução
That is a "click" and triggers your OnItemClickListener
(or onListItemClick()
if you are implementing a ListActivity
).
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow