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
Post a Comment