inboxrecyclerview / me.saket.inboxrecyclerview.page / SimpleOnPullListener

SimpleOnPullListener

abstract class SimpleOnPullListener : PullToCollapseListener.OnPullListener

Empty implementations of PullToCollapseListener.OnPullListener. This way, any custom listener that cares only about a subset of the methods of this listener can subclass this adapter class instead of implementing the interface directly.

Constructors

<init>

SimpleOnPullListener()

Empty implementations of PullToCollapseListener.OnPullListener. This way, any custom listener that cares only about a subset of the methods of this listener can subclass this adapter class instead of implementing the interface directly.

Functions

onPull

open fun onPull(deltaY: Float, currentTranslationY: Float, upwardPull: Boolean, deltaUpwardPull: Boolean, collapseEligible: Boolean): Unit

See PullToCollapseListener.OnPullListener.onPull

onRelease

open fun onRelease(collapseEligible: Boolean): Unit

Called when the user's finger is lifted.