I have a custom ListView with a button inside it, when i click on this button, the onItemClickListener() is not called, the button's onClick() method is called instead.
What i want to achieve, is to get the id of the list item where is located the button i clicked on (i need this id to delete the good entry from my database).
Thank you !
Android : custom ListView - get id of item when i click on a button located inside the list
on Monday, September 8, 2014
Labels:
custom ListView - get id of item when i click on a button located inside the list I have a custom ListView with a button inside it,
is to get the id of the list item where is located the button i c,
the buttons onClick() method is called instead. What i want to achieve,
the onItemClickListener() is not called,
when i click on this button
0 comments:
Post a Comment