AdapterController
Functions
Link copied to clipboard
Dispatches state changes to a state manager
Link copied to clipboard
Create a ConcatAdapter with the provided SupportLoadStateAdapters displaying the LoadState.Loading.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.Loading.Position.TOP as a list item at the end of the presented list.
Link copied to clipboard
abstract fun withLoadStateHeaderAndFooter(header: SupportLoadStateAdapter, footer: SupportLoadStateAdapter): ConcatAdapter
Create a ConcatAdapter with the provided SupportLoadStateAdapters displaying the LoadState.Loading.Position.TOP and LoadState.Loading.Position.BOTTOMs as list items at the start and end respectively.