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

callbackClass the class that implements ActionCallback
parameters the 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

parameters the parameters associated with the action