{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

PlatformTextInputAdapter

@ExperimentalTextApi
public interface PlatformTextInputAdapter


See kdoc on actual interfaces.

Summary

Public methods

abstract InputConnection

Delegate for View.onCreateInputConnection.

default void

Called when this adapter is not remembered by any composables is removed from the PlatformTextInputPluginRegistry.

Public methods

createInputConnection

abstract InputConnection createInputConnection(@NonNull EditorInfo outAttrs)

Delegate for View.onCreateInputConnection.

onDisposed

default void onDisposed()

Called when this adapter is not remembered by any composables is removed from the PlatformTextInputPluginRegistry.