Package-level declarations

Types

Link copied to clipboard
fun interface AutofillProvider<out T>

Provides a value whenever there is a need to return a placeholder of certain type.

Link copied to clipboard

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

Link copied to clipboard

Provides values based on registered providers. Providers are utilized in order of their registration, starting with the most recent.

Link copied to clipboard

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 value if this is an instance of AutofillProvider.Value.Provided.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T : Any> TypeRegistryAutofillProvider.register(noinline provider: () -> T?)
Link copied to clipboard