Property

LocalAutofillTree

The CompositionLocal that can be used to add AutofillNodes to the autofill tree.

Source set: Common
@Deprecated(
    """
        Use the new semantics-based Autofill APIs androidx.compose.ui.autofill.ContentType and
        androidx.compose.ui.autofill.ContentDataType instead.
        """
)
public val LocalAutofillTree: ProvidableCompositionLocal<AutofillTree> =
    computedDefaultOf("LocalAutofillTree") { LocalOwner.currentValue.autofillTree }

The CompositionLocal that can be used to add AutofillNodes to the autofill tree. The AutofillTree is a temporary data structure that will be replaced by Autofill Semantics (b/138604305).

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: