TypeRegistryAutofillProvider
Allows registering value providers for specific types. This provider does not support polymorphism. If you register provider for some interface A
, it provides a value only for A::class
. Provider for AImpl
must be registered separately.
Functions
Link copied to clipboard
Returns an instance of Value.Provided, whenever value of type can be provided. Otherwise, it returns Value.Absent
Link copied to clipboard
Calls AutofillProvider.provide and returns AutofillProvider.Value.Provided.value if present.
Link copied to clipboard
Calls TypeRegistryAutofillProvider.register with type T.
Link copied to clipboard
Link copied to clipboard
Calls TypeRegistryAutofillProvider.unregister with type T.