StickyHeaderCallbacks

interface StickyHeaderCallbacks

Adds sticky headers capabilities to any RecyclerView.Adapter combined with StickyHeaderLinearLayoutManager.

Functions

isStickyHeader
Link copied to clipboard
abstract fun isStickyHeader(position: Int): Boolean
Return true if the view at the specified position needs to be sticky else false.
setupStickyHeaderView
Link copied to clipboard
open fun setupStickyHeaderView(stickyHeader: View)
Callback to adjusts any necessary properties of the stickyHeader view that is being used as a sticky, eg.
teardownStickyHeaderView
Link copied to clipboard
open fun teardownStickyHeaderView(stickyHeader: View)
Callback to revert any properties changed in setupStickyHeaderView.

Inheritors

EpoxyController
Link copied to clipboard
BaseEpoxyAdapter
Link copied to clipboard