ISupportViewHolder

General purpose recycler view holder to simplify construction of views

Since

1.3.0

Inheritors

Functions

Link copied to clipboard
abstract fun bind(position: Int, payloads: List<Any>, model: IRecyclerItem, stateFlow: MutableStateFlow<ClickableItem>, selectionMode: ISupportSelectionMode<Long>? = null)

Load images, text, buttons, etc. in this method from the given parameter

Link copied to clipboard
abstract fun onViewRecycled()

Clear or unbind any references the views might be using, e.g. image loading libraries, data binding, callbacks e.t.c