Package com.tomtom.tools.android.api.uicontrols.recyclerview.adapter

Types

Link copied to clipboard
interface ContentListItemViewFactory

Creates the TtInformationControl for the ListItemViewModel.ListItemType.CONTENT items in a TtListRecyclerView. Implement this interface to apply custom styling for content items in a TtListRecyclerView.

Link copied to clipboard

Creates a TtInformationControl with its default style.

Link copied to clipboard
interface HeaderListItemViewFactory

Creates the View for the ListItemViewModel.ListItemType.HEADER items in a TtListRecyclerView. Implement this interface to apply custom styling for header items in a TtListRecyclerView.

Link copied to clipboard
class LayoutContentListItemViewFactory(@LayoutRes layoutRes: Int) : ContentListItemViewFactory

Creates a TtInformationControl by inflating the provided layoutRes. layoutRes must be inflatable using DataBindingUtil.

Link copied to clipboard
class LayoutHeaderListItemViewFactory(@LayoutRes layoutRes: Int) : HeaderListItemViewFactory

Creates a View by inflating the provided layoutRes. layoutRes must be inflatable using DataBindingUtil.

Link copied to clipboard
interface TtListRecyclerViewAdapter

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

Properties

Link copied to clipboard

Creates a View with its default style.