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

FocusDirection

enum class FocusDirection
kotlin.Any
   ↳ kotlin.Enum<androidx.compose.ui.focus.FocusDirection>
   ↳ androidx.compose.ui.focus.FocusDirection

This enum specifies the direction of the requested focus change.

Summary

Enum values

Inherited extension functions
From androidx.core.util
infix Range<T>
T.rangeTo(that: T)

Creates a range from this Comparable value to that.

Enum values

Down

enum val Down : FocusDirection

Left

enum val Left : FocusDirection

Next

enum val Next : FocusDirection

Previous

enum val Previous : FocusDirection
enum val Right : FocusDirection

Up

enum val Up : FocusDirection