which 'on' method is called when the trackball's 'Select' button is pressed?
-
14-11-2019 - |
質問
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
解決
That is a "click" and triggers your OnItemClickListener
(or onListItemClick()
if you are implementing a ListActivity
).
所属していません StackOverflow