ProvidableModifierLocal

  • Common/All

ProvidableModifierLocals are ModifierLocals that can be used to provide values using a ModifierLocalProvider.

When you create an instance of a ProvidableModifierLocal, and want to prevent users of your library from providing new values but want to allow the values to be consumed, expose a ModifierLocal instead.

Summary

Public constructors

<T : Any?> ProvidableModifierLocal(defaultFactory: () -> T)
Cmn

Public constructors

ProvidableModifierLocal

<T : Any?> ProvidableModifierLocal(defaultFactory: () -> T)

In this codelab, you'll learn about lifecycle-aware architecture components and how to incorporate LiveData and ViewModels into your app.

Updated Sep 19, 2023

Visualize issues in your app with the Universal Problems panel in Android Studio.

Updated Mar 25, 2024

Discover the latest app development tools, platform updates, training, and documentation for developers across every Android device.

Updated Dec 18, 2024