abstract class ItemExpandAnimator
Controls how InboxRecyclerView items are animated when its page is moving. To create a custom animator, extend this and override onPageMove.
ItemExpandAnimator()
Controls how InboxRecyclerView items are animated when its page is moving. To create a custom animator, extend this and override onPageMove. |
lateinit var recyclerView: InboxRecyclerView |
fun onAttachRecyclerView(recyclerView: InboxRecyclerView): Unit |
|
fun onDetachRecyclerView(recyclerView: InboxRecyclerView): Unit |
|
abstract fun onPageMove(): Unit
Called when the page changes its position and/or dimensions. This can happen when the page is expanding, collapsing or being pulled vertically. |
fun split(): SplitExpandAnimator
See 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. |