Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
I want to disable the response to click and long click on items for a listview in android. I have set isEnabled(int position) of the adapter to return false, so that the cells in the listview does not response to click operation, but they still respond to long click operations(that is, they are highlighted when long clicked). the question is, what can I do to make the cells not highlighted when they are long clicked. Thank you. | ||||
default
.
stackoverflow.comm
No comments:
Post a Comment