AutofillTree

class AutofillTree
kotlin.Any
   ↳ androidx.ui.autofill.AutofillTree

The autofill tree.

This is used temporarily until we have a semantic tree implemented (b/138604305). This implementation is a tree of height = 1, and we don't use the root node right now, so this is essentially a group of leaf nodes.

Summary

Public constructors

The autofill tree.

Public methods

Unit?
performAutofill(id: Int, value: String)

operator Unit
plusAssign(autofillNode: AutofillNode)

Properties

MutableMap<Int, AutofillNode>

Public constructors

<init>

AutofillTree()

The autofill tree.

This is used temporarily until we have a semantic tree implemented (b/138604305). This implementation is a tree of height = 1, and we don't use the root node right now, so this is essentially a group of leaf nodes.

Public methods

performAutofill

fun performAutofill(
    id: Int,
    value: String
): Unit?

plusAssign

operator fun plusAssign(autofillNode: AutofillNode): Unit

Properties

children

val children: MutableMap<Int, AutofillNode>