SupportAdapterController

Adapter controller for handling complex adapter logic

Constructors

Link copied to clipboard
constructor(adapter: ISupportAdapter<T>)

Functions

Link copied to clipboard

Dispatches state changes to a state manager

Link copied to clipboard
fun onPause()
Link copied to clipboard

Create a ConcatAdapter with the provided SupportLoadStateAdapters displaying the LoadState.Position.BOTTOM as a list item at the start of the presented list.

Link copied to clipboard

Create a ConcatAdapter with the provided SupportLoadStateAdapters displaying the LoadState.Position.TOP as a list item at the end of the presented list.

Link copied to clipboard

Create a ConcatAdapter with the provided SupportLoadStateAdapters displaying the LoadState.Position.TOP and LoadState.Position.BOTTOMs as list items at the start and end respectively.