android - onItemClickListener (ListActivity) vs onItemClick (ListView): which one should I use? -


when comes using listview inside of listactivity, there difference between applying onitemclicklistener associated listview , overriding onlistitemclick method in listactivity? there doesn't appear difference except class handles event.

is there 1 preferable other, whether efficiency reasons, code maintainability, or android best-practices?

override onlistitemclick if you're using listactivity. that's it's there for.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

c++ - How to modify context menu of internet explorer using IDocHostUIHandler::ShowContextMenu? -

c# - Asterisk click to call -