RetainedValueProvider

actual fun interface RetainedValueProvider : Function0<Any?> (source)

Provides a retained value to a RetainedStateRegistry.

Only defined as a top-level interface to allow non-JS targets to extend () -> Any?.

expect fun interface RetainedValueProvider(source)

Provides a retained value to a RetainedStateRegistry.

Only defined as a top-level interface to allow non-JS targets to extend () -> Any?.

actual fun interface RetainedValueProvider : Function0<Any?> (source)

Provides a retained value to a RetainedStateRegistry.

Only defined as a top-level interface to allow non-JS targets to extend () -> Any?.

actual fun interface RetainedValueProvider(source)

Provides a retained value to a RetainedStateRegistry.

Only defined as a top-level interface to allow non-JS targets to extend () -> Any?.

actual fun interface RetainedValueProvider : Function0<Any?> (source)

Provides a retained value to a RetainedStateRegistry.

Only defined as a top-level interface to allow non-JS targets to extend () -> Any?.

Functions

Link copied to clipboard
actual abstract operator override fun invoke(): Any?
expect abstract fun invoke(): Any?

Returns the retained value. If the value is wrapped in a holder class, this class should implement RetainedValueHolder.

actual abstract operator override fun invoke(): Any?
actual abstract fun invoke(): Any?
actual abstract operator override fun invoke(): Any?