Class

FocusOrder

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

Source set: Common
@Deprecated("Use FocusProperties instead")
public class FocusOrder internal constructor(private val focusProperties: FocusProperties)

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

Properties

next

Source set: Common
public var next: FocusRequester

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

previous

Source set: Common
public var previous: FocusRequester

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

up

Source set: Common
public var up: FocusRequester

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

down

Source set: Common
public var down: FocusRequester

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

left

Source set: Common
public var left: FocusRequester

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

Source set: Common
public var right: FocusRequester

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

start

Source set: Common
public var start: FocusRequester

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

end

Source set: Common
public var end: FocusRequester

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

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: