AutofillProvider

fun interface AutofillProvider<out T>

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

The most important AutofillProvider objects are:

Both allows registering custom providers.

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard
sealed interface Value<out T>

Result of AutofillProvider.provide call.

Functions

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

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

Link copied to clipboard