Function

actionRunCallback

Creates an [Action] that executes a given [ActionCallback] implementation

actionRunCallback

Android
public fun <T : ActionCallback> actionRunCallback(
    callbackClass: Class<T>,
    parameters: ActionParameters = actionParametersOf(),
): Action

Creates an Action that executes a given ActionCallback implementation

Parameters

callbackClass the class that implements ActionCallback
parameters the parameters associated with the action

actionRunCallback

Android
public inline fun <reified T : ActionCallback> actionRunCallback(
    parameters: ActionParameters = actionParametersOf()
): Action

Creates an Action that executes a given ActionCallback implementation

Parameters

parameters the parameters associated with the action