Property

LocalAutofill

The CompositionLocal that can be used to trigger autofill actions.

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 LocalAutofill: ProvidableCompositionLocal<Autofill?> = computedNullableDefaultOf {
    LocalOwner.currentValue.autofill
}

The CompositionLocal that can be used to trigger autofill actions. Eg. Autofill.requestAutofillForNode.

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: