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

SAP Web Service from .NET via WCF -

email - PHP Mail Error "The Page at X Says: E-Mail can not be sent!" -

Optimized Line drawing in QT -