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

FocusInteraction

public interface FocusInteraction extends Interaction

Known direct subclasses
FocusInteraction.Focus

An interaction representing a focus event on a component.

FocusInteraction.Unfocus

An interaction representing a Focus event being released on a component.


An interaction related to focus events.

See also
focusable
FocusInteraction.Focus
FocusInteraction.Unfocus

Summary

Nested types

public final class FocusInteraction.Focus implements FocusInteraction

An interaction representing a focus event on a component.

public final class FocusInteraction.Unfocus implements FocusInteraction

An interaction representing a Focus event being released on a component.