app / de.uniks.codliners.stock_simulator.ui / OnClickListener

OnClickListener

class OnClickListener<T>

Utility class for type safe click event handling.

Parameters

T - The input type.

Constructors

<init>

Utility class for type safe click event handling.

OnClickListener(block: (T) -> Unit)

Functions

onClick

Calls the code block with the passed input.

fun onClick(input: T): Unit