EverythingMe / overscroll-decor

Android: iOS-like over-scrolling effect applicable over almost all scrollable Android views.
BSD 2-Clause "Simplified" License
2.85k stars 400 forks source link

Question: disable the listener/remove decor #27

Closed Piuma37 closed 7 years ago

Piuma37 commented 8 years ago

Is it possible to disable the overscroll listeners if not needed anymore? I've tried attatching a null recycler to the itemTouchHelper with no result.

stefi92 commented 8 years ago

have you already solved this please?

d4vidi commented 8 years ago

Hi, I'm not sure I understand the question very well. Are you referring to over-scroll effect listeners, or the recycler-view's listeners for items swiping and dragging?

The former can be removed by assigning null. As for the latter, I suppose the answer is currently no -- seeing that the concrete ItemTouchHelper isn't made available by my API.

d4vidi commented 8 years ago

@Piuma37 I'd be happy to assist if you'd be more specific as per my question from aug 19. Thanks!