开发者

which 'on' method is called when the trackball's 'Select' button is pressed?

开发者 https://www.devze.com 2023-02-11 09:39 出处:网络
which \'on\' event is invoked when the user selects a ListView item by pressing the trackball button?

which 'on' event is invoked when the user selects a ListView item by pressing the trackball button? i trapped onKeyDown, onTouchEvent, o开发者_StackOverflow中文版nTrackballEvent but it's none of those... thanks


That is a "click" and triggers your OnItemClickListener (or onListItemClick() if you are implementing a ListActivity).

0

精彩评论

暂无评论...
验证码 换一张
取 消