0

i am having one custom list view, it contains enable/disable button on each list view item , When user tap on enable/disable button, list view scroll should be enable/disable

I have tried guide like Disable scrolling of a ListView contained within a ScrollView & Disable scrolling in listview and several others , But it disables entire list view , thus i am not able to click on button once list view disable.

Any hint / guide will be appreciated

Thanks

Community
  • 1
  • 1
Aamirkhan
  • 5,746
  • 10
  • 47
  • 74

1 Answers1

1

Have you tried to override onTouchEvent and return false when you want to block the list?

MineConsulting SRL
  • 2,340
  • 2
  • 17
  • 32