with Click

fun withClick(onClick: (model?) -> Unit)

method to define action when item is clicked

Parameters

onClick

action when item is clicked

Sources

Link copied to clipboard