Android Question listview Itemclick

Tim Chapman

Active Member
Licensed User
Longtime User
I know that one can use btnEvent_Click for handling all button click events. And lblEvent_Click for all labels. What is the name to use for all listview item clicks? Also for the other types of views, what are these abbreviated names that catch the events they respond to? For listview I tried lvw_ItemClick and lst_ItemClick, but neither one worked.

I have multiple listviews in my code. I have different subs that handle clicks on each one. I want to make one sub handle all listview item clicks and determine which listview sent the click using a different tag on each listview. Thas is why I want the name of the generic listview click event catcher. I want to be able to use this on other view types so the names for them would be helpful as well.
 

Tim Chapman

Active Member
Licensed User
Longtime User
Never mind. I figured out my misunderstanding. All the button events were named with the same name in the designer. There are no magic abbreviated names.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…