SupportViewHolder

General purpose recycler view holder to simplify construction of views

Since

1.3.0

See also

Constructors

Link copied to clipboard
constructor(binding: ViewBinding)

Properties

Link copied to clipboard

Functions

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

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

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onViewRecycled()

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

Link copied to clipboard