ComposableInvoker

Added in 1.2.0
Deprecated in 1.3.0

A utility object to invoke composable function by its name and containing class.

Summary

Public functions

Unit
@ExperimentalComposeUiApi
invokeComposable(
    className: String,
    methodName: String,
    composer: Composer,
    vararg args: Any?
)

Invokes the given methodName belonging to the given className.

android

Public functions

invokeComposable

@ExperimentalComposeUiApi
fun invokeComposable(
    className: String,
    methodName: String,
    composer: Composer,
    vararg args: Any?
): Unit

Invokes the given methodName belonging to the given className. The methodName is expected to be a Composable function. This method args will be forwarded to the Composable function.