Android 12 Developer Preview is here! Try it out, and give us your feedback!

FocusOrder

class FocusOrder
kotlin.Any
   ↳ androidx.compose.ui.focus.FocusOrder

Specifies custom focus destinations that are used instead of the default focus traversal order.

Summary

Public constructors

Specifies custom focus destinations that are used instead of the default focus traversal order.

Properties
FocusRequester

A custom item to be used when the user moves focus "down".

FocusRequester

A custom item to be used when the user moves focus to the "right" in LTR mode and "left" in RTL mode.

FocusRequester

A custom item to be used when the user moves focus to the "left" item.

FocusRequester

A custom item to be used when the user moves focus to the "next" item.

FocusRequester

A custom item to be used when the user moves focus to the "previous" item.

FocusRequester

A custom item to be used when the user moves focus to the "right" item.

FocusRequester

A custom item to be used when the user moves focus to the "left" in LTR mode and "right" in RTL mode.

FocusRequester

A custom item to be used when the user moves focus "up".

Public constructors

<init>

FocusOrder()

Specifies custom focus destinations that are used instead of the default focus traversal order.

Properties

down

var down: FocusRequester

A custom item to be used when the user moves focus "down".

end

var end: FocusRequester

A custom item to be used when the user moves focus to the "right" in LTR mode and "left" in RTL mode.

left

var left: FocusRequester

A custom item to be used when the user moves focus to the "left" item.

next

var next: FocusRequester

A custom item to be used when the user moves focus to the "next" item.

previous

var previous: FocusRequester

A custom item to be used when the user moves focus to the "previous" item.

var right: FocusRequester

A custom item to be used when the user moves focus to the "right" item.

start

var start: FocusRequester

A custom item to be used when the user moves focus to the "left" in LTR mode and "right" in RTL mode.

up

var up: FocusRequester

A custom item to be used when the user moves focus "up".