inboxrecyclerview / me.saket.inboxrecyclerview.page / ExpandablePageLayout / onPull

onPull

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

Overrides OnPullListener.onPull

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

Parameters

deltaY - Delta translation-Y since the last onPull call.

currentTranslationY - Current translation-Y of the page.

upwardPull - Whether or not the page is being pulled in the upward direction.

deltaUpwardPull - Whether or not the last delta-pull was made in the upward direction.

collapseEligible - Whether or not the pull distance was enough to trigger a collapse.