CompositeAutofillProvider

Provider that allows registering both types and delegates. It uses given providers in specified order:

Properties

Link copied to clipboard

Allows injecting implementations of AutofillProvider. This provider is used first.

Link copied to clipboard

Allows providing simple type-to-function mapping. This provider is used second.

Functions

Link copied to clipboard
abstract fun provide(type: KClass<*>): AutofillProvider.Value<Any?>

Returns an instance of Value.Provided, whenever value of type can be provided. Otherwise, it returns Value.Absent

Link copied to clipboard