I have a ListView with some elements on it. Each row has a TextView and a Button. It looks like this:
| Some text in a row (Button) |
Now, when I click on this text nothing happens. Simply no one function is called. But when I click on the button I can handle the event. I use onListItemClick()
So what should I use instead of this TextView to be able to handle an event (when I click on the text)?
Before this I had only one TextView in each row and when I was clicking on a row everything worked fine (onListItemClick() was called).
Thank you in advance!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…