I have a list of Strings and every row has a button next to it. If the user clicks the button i want to retrieve the data for that row from the onClickListener. This sounds like impossible because there’s no way I can retrieve data from a list without onItemClick. Is there a way to accomplish this with a button click instead?
Share
Well, you know the position in the list from the onclickevent, right? So you could call the getItem with that position?