0

I am writing an custom ViewGroup and following neevek to get touch interruption between parent and Child(ListView). Here Custom ViewGroup help to uplift ListView.

What I need: So once ListView uplift at top, I want to start scroll it for which I need to interrupt ParentTouch event and allow control back to child.

I tried with ListView.getParent().requestDisallowInterceptTouchEvent(flag); but it's not working.

Any suggestion here !

CoDe
  • 11,056
  • 14
  • 90
  • 197

1 Answers1

0

Return true for you event that you don't need to pass to the parent. if you return true the event will be consumed by the listener and will not be passed to the parent.

null pointer
  • 5,874
  • 4
  • 36
  • 66