onBindView

open override fun onBindView(view: LithoRenderTreeView, sizeConstraints: SizeConstraints)

Binds data and properties to the view when it's being displayed in the collection. This method is called when the RecyclerView needs to display the item at a specific position.

Parameters

view

The view instance of type V that will display this collection item

sizeConstraints

The size constraints that define the available space for rendering the view