Welcome to the CSC Q&A, where you can get help (and share your knowledge) about computer science!

onLongClickListener goes away after adding CheckedTextView

+9 votes
When I added my CheckTextView box onto my screen, I was no longer able to long click on the item to edit or delete the item.  Anyone else having this problem?
asked Mar 22, 2015 in Spring 2015 by Michael Hanson (100 points)

1 Answer

+2 votes
 
Best answer
I think maybe you need to make sure that your CheckedTextView widget is not set to be "clickable" or anything like that.  Instead, the click handling should be being done by the ListView's onItemClick listener...
answered Mar 22, 2015 by Forrest Stonedahl (3,438 points)
selected Mar 23, 2015 by Michael Hanson
...