BasicElementViewCreationResult

class BasicElementViewCreationResult<BD>(val basicElementView: View, val onBind: (BD) -> Unit = {})

Result of RecyclerBasicElementController.createBasicElementView.

Parameters

basicElementView

The created basic element view.

onBind

Invoked to bind the basic element data of type BD to the view.

BD

The type of the basic element data. The data is derived from the panel container data.

Constructors

Link copied to clipboard
fun <BD> BasicElementViewCreationResult(basicElementView: View, onBind: (BD) -> Unit = {})

Properties

Link copied to clipboard
val basicElementView: View
Link copied to clipboard
val onBind: (BD) -> Unit