inboxrecyclerview / me.saket.inboxrecyclerview.page / PullToCollapseListener / OnPullListener

OnPullListener

interface OnPullListener

Functions

onPull

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

Called when the user is pulling down / up the expandable page or the list.

onRelease

abstract fun onRelease(collapseEligible: Boolean): Unit

Called when the user's finger is lifted.

Inheritors

ExpandablePageLayout

open class ExpandablePageLayout : BaseExpandablePageLayout, PullToCollapseListener.OnPullListener

An expandable / collapsible layout for use with a InboxRecyclerView.

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.