开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜