which 'on' method is called when the trackball's 'Select' button is pressed?
-
14-11-2019 - |
Question
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
Solution
That is a "click" and triggers your OnItemClickListener
(or onListItemClick()
if you are implementing a ListActivity
).
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow