SupportAdapterController
Adapter controller for handling complex adapter logic
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.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
open override fun withLoadStateHeaderAndFooter(header: SupportLoadStateAdapter, footer: SupportLoadStateAdapter): ConcatAdapter
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.