Reputation: 8397
Hey, I was curious if there was a way that I can assign each menu item in a ListView
its ID from the SQLite database, so that when I do something like onClick, or using a ContextMenu, I can tell what item / row I am referencing to.
Upvotes: 1
Views: 305
Reputation: 31493
Yep when you implement the onItemClickListener the id argument is what you are wanting.
Upvotes: 1