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? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -