Get specific id from a listview
I have a ListView which is implemented using a customs adapter. For making
the adapter i am using a holder class. The class has various TextViews and
ImageViews as well as an Int variable id to store the id being fetched
from the database. Now when i click the particular list i want to get the
id so that using it I can further display the information on a new
activity. The id is not meant to be displayed in the ListView. How can i
get the id from onItemClickListener() Thanks in a advance.
No comments:
Post a Comment