Will Nixon
09/01/2020, 8:58 PMdispatchTouchEvent
in my activity, I can pass that even onto the gesture detector and every works fine. The problem is, then if I’m swiping in the recycler view, the function I only want associated with the header still gets called. Whats the best way to intercept touch events in the header?
At the moment, the header is just a constraint layout, so all I can do is grab a reference to it via R.id.header