KRecycler Item Type Builder
Class that maps types to providing functions
To be able to support different item types in KRecyclerView, this class adds support for mapping item type classes to functions that provide them. KEmptyRecyclerItem is added by default.
See also
Properties
Link copied to clipboard
private final Map<KClass<? extends KRecyclerItem<?>>, KRecyclerItemType<KRecyclerItem<?>>> itemTypes
Functions
Link copied to clipboard
public final Map<KClass<? extends KRecyclerItem<?>>, KRecyclerItemType<KRecyclerItem<?>>> getItemTypes()