AutofillNode

Every autofillable composable will have an AutofillNode. (An autofill node will be created
for every semantics node that adds autofill properties). This node is used to request/cancel
autofill, and it holds the onFill lambda which is called by the autofill framework.

Public constructors

<init>

Every autofillable composable will have an AutofillNode. (An autofill node will be created
for every semantics node that adds autofill properties). This node is used to request/cancel
autofill, and it holds the onFill lambda which is called by the autofill framework.

Properties

autofillTypes

A list of autofill types for this node. These types are conveyed to the
autofill framework and it is used to call onFill with the appropriate value. If you don't set
this property, the autofill framework will use heuristics to guess the type. This property is a
list because some fields can have multiple types. For instance, userid in a login form can
either be a username or an email address. TODO(b/138731416): Check with the autofill service
team if the order matters, and how duplicate types are handled.