I have a list view and want each cell in my within it to be disabled so that when you tap on it the text colors stay the same.
But I want it to be scrollable.
How can I achieve this?
This similar post might be of help. The general approach is to disable all the items instead of the whole view. Essentially:
ArrayAdapter
(or any other adapter)isEnabled(int position)
to return false
areAllItemsEnabled()
to return false
all the easier! list.setEnabled(false)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With