Package-level declarations
Types
Link copied to clipboard
open class SupportLoadStateAdapter(val resources: Resources, val stateConfiguration: IStateLayoutConfig, val mapper: (LoadState) -> IRecyclerItem = {
when (it) {
is LoadState.Loading -> SupportLoadingItem(stateConfiguration)
is LoadState.Error -> SupportErrorItem(it, stateConfiguration)
else -> SupportDefaultItem(it, stateConfiguration)
}
}, val customSupportAnimator: AbstractAnimator? = ScaleAnimator(), val supportAction: ISupportSelectionMode<Long>? = null) : ListAdapter<LoadState, SupportViewHolder> , ISupportAdapter<LoadState>