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

Types

Link copied to clipboard
class GridItemSpacingDecoration(itemSpacingHorizontalPx: Int, itemSpacingVerticalPx: Int) : RecyclerView.ItemDecoration

A RecyclerView.ItemDecoration used to add the spacing to items in GridLayoutManager.

Link copied to clipboard
class HorizontalListDividerDecoration(drawable: Drawable) : RecyclerView.ItemDecoration

A RecyclerView.ItemDecoration used to add a divider between list items in the RecyclerView. The RecyclerView.Adapter has to be a ListGroupItemsCollection.

Link copied to clipboard
class StickyHeaderDecoration(isHeader: (itemPosition: Int) -> Boolean) : RecyclerView.ItemDecoration

A RecyclerView.ItemDecoration used to act as the sticky header in a RecyclerView.