actionRunCallback

Function

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

Creates an Action that executes a given ActionCallback implementation

Parameters

callbackClassthe class that implements ActionCallback
parametersthe parameters associated with the action
Android
public inline fun <reified T : ActionCallback> actionRunCallback(
    parameters: ActionParameters = actionParametersOf()
): Action

Creates an Action that executes a given ActionCallback implementation

Parameters

parametersthe parameters associated with the action