Function

actionRunCallback

Creates an Action that executes a given ActionCallback implementation

actionRunCallback

Source set: 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

Source set: Android
@Suppress("MissingNullability") // Shouldn't need to specify @NonNull. b/199284086
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
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: