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
class ContentAreaViewHolder(view: TtInformationControl) : RecyclerView.ViewHolder
Content 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
abstract fun getIndicatorContentProvider(position: Int): IndicatorContentProvider?
Content 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)
Content copied to clipboard
Sets the ttContentListItemViewFactory to the adapter.
Link copied to clipboard
abstract fun setHeaderViewFactory(ttHeaderListItemViewFactory: HeaderListItemViewFactory)
Content copied to clipboard
Sets the ttHeaderListItemViewFactory to the adapter.