How to get ListView's item's indexes?
-
Hi, I have ListView activity and it has 3 items on it, I want that if the user click on each one of them the related activity to the list’s item be shown to the user. How can I do this? Could anyone help me to fix this?
-
Hi, I have ListView activity and it has 3 items on it, I want that if the user click on each one of them the related activity to the list’s item be shown to the user. How can I do this? Could anyone help me to fix this?
Check out OnClickListener(). In the handler, you can use the
GetId()
method of the view that is passed to it."One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles