SupportLoadStateAdapter
Constructors
Properties
An observer to listen for clicks on clickable items
Get currently set animation type for recycler view holder items
Mapper for adapters to converting models to recycler items
Configuration for the state based footer
Assigned if the current adapter supports needs to supports action mode
Functions
Applies an animation on a SupportViewHolder when it is seen for the first time
Binds view holder by view type at position
Should provide the required view holder, this function is a substitute for androidx.recyclerview.widget.RecyclerView.Adapter.onCreateViewHolder which now has extended functionality
Returns true if the LoadState should be displayed as a list item when active.
Return the view type of the item at position
for the purposes of view recycling.
Should return the span size for the item at position, when called from androidx.recyclerview.widget.GridLayoutManager will be the span size for the item at the position.
Used to get stable ids for androidx.recyclerview.widget.RecyclerView.Adapter but only if androidx.recyclerview.widget.RecyclerView.Adapter.setHasStableIds is set to true.
Check if ISupportAdapter ->SupportListAdapter contains any list items
Informs view adapter of changes related to it's view holder
Calls the the recycler view holder to perform view binding, and selection mode decorations are set up
Overridden implementation createDefaultViewHolder calls to resolve the view holder type
Notifies that ON_PAUSE
event occurred.
Returns the non-nullable item for this adapter
Initial implementation is only specific for group types of recyclers, in order to customize this an override is required.