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