This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I'm having problems with what's suppose to be a simple thing to code. I create a list view with two columns: a checkbox and a text view. When the user clicks on the text view, I fire up an intent and when the user clicks on the checkbox (one or more of them) I want to grab the id and show a 'delete this textview' icon in the action bar. I don't understand how to listen for the event when the users checks a checkbox.
This sums up what I'm trying to accomplish
This is my main.xml which contains the List View:
The custom layout which is used to display the checkbox and the textview in the listview (msg.xml):
If anyone can help I would be very grateful, I've been struggling with this for 2 days now.