interface StickyHeaderCallbacks
Adds sticky headers capabilities to any RecyclerView.Adapter combined with StickyHeaderLinearLayoutManager.
abstract fun isStickyHeader(position: Int): Boolean
Return true if the view at the specified position needs to be sticky else false. |
|
open fun setupStickyHeaderView(stickyHeader: View): Unit
Callback to adjusts any necessary properties of the stickyHeader view that is being used as a sticky, eg. elevation. Default behaviour is no-op. |
|
open fun teardownStickyHeaderView(stickyHeader: View): Unit
Callback to revert any properties changed in setupStickyHeaderView. Default behaviour is no-op. |
abstract class BaseEpoxyAdapter : Adapter<EpoxyViewHolder!>, StickyHeaderCallbacks |
|
abstract class EpoxyController : ModelCollector, StickyHeaderCallbacks
A controller for easily combining |