TtListRecyclerViewAdapter

An interface that allows external binding adapters to set the HeaderListItemViewFactory and ContentListItemViewFactory and to get the IndicatorContentProvider of a specific position.

Types

Link copied to clipboard

The view holder class for content views.

Link copied to clipboard

The view holder class for header views.

Functions

Link copied to clipboard

Gets the IndicatorContentProvider for the list item at position. Returns null if no indicator content provider is available.

Link copied to clipboard
abstract fun setContentViewFactory(ttContentListItemViewFactory: ContentListItemViewFactory)

Sets the ttContentListItemViewFactory to the adapter.

Link copied to clipboard
abstract fun setHeaderViewFactory(ttHeaderListItemViewFactory: HeaderListItemViewFactory)

Sets the ttHeaderListItemViewFactory to the adapter.