onClick

abstract fun onClick(action: () -> Unit)

Passes listener that is called when the view was clicked.