Вопрос

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).

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top