Interface

Autofill

Source set: Common
public interface Autofill

Functions

requestAutofillForNode

Source set: Common
public fun requestAutofillForNode(autofillNode: @Suppress("Deprecation") AutofillNode)

Request autofill for the specified node.

This function is usually called when an autofill-able component gains focus.

Parameters

autofillNode The node that needs to be auto-filled.

cancelAutofillForNode

Source set: Common
public fun cancelAutofillForNode(autofillNode: @Suppress("Deprecation") AutofillNode)

Cancel a previously supplied autofill request.

This function is usually called when an autofill-able component loses focus.

Parameters

autofillNode The node that needs to be auto-filled.
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: