SupportDefaultItem
View holder for representing idle or success states
Since
v1.3.0
Properties
Functions
Link copied to clipboard
open override fun bind(view: View, position: Int, payloads: List<Any>, stateFlow: MutableStateFlow<ClickableItem>, selectionMode: ISupportSelectionMode<Long>?)
Called when the view needs to be setup, this could be to set click listeners, assign text, load images, e.t.c
Link copied to clipboard
Provides a preferred span size for the item