inboxrecyclerview / me.saket.inboxrecyclerview.animation / SplitExpandAnimator

SplitExpandAnimator

open class SplitExpandAnimator : ItemExpandAnimator

When the page is expanding, this pushes all RecyclerView items out of the Window. The expanding item is pushed to align with the top edge, while the items above it are pushed out of the window towards the top and the rest towards the bottom.

Vice versa when the page is collapsing.

Constructors

<init>

SplitExpandAnimator()

When the page is expanding, this pushes all RecyclerView items out of the Window. The expanding item is pushed to align with the top edge, while the items above it are pushed out of the window towards the top and the rest towards the bottom.

Functions

applyAlphaOnAnchorView

open fun applyAlphaOnAnchorView(anchorView: View, expandRatio: Float): Unit

moveListItems

open fun InboxRecyclerView.moveListItems(anchorIndex: Int, distanceExpandedTowardsTop: Int, distanceExpandedTowardsBottom: Int): Unit

onPageMove

open fun onPageMove(recyclerView: InboxRecyclerView, page: ExpandablePageLayout): Unit

Called when the page changes its position and/or dimensions. This can happen when the page is expanding, collapsing or being pulled vertically.

Inherited Functions

onAttachRecyclerView

fun onAttachRecyclerView(recyclerView: InboxRecyclerView, page: ExpandablePageLayout): Unit

onDetachRecyclerView

fun onDetachRecyclerView(): Unit