recycler-view-divider / com.fondesa.recyclerviewdivider / LayoutDirection

LayoutDirection

data class LayoutDirection

Identifies the direction of a RecyclerView's layout.

Parameters

horizontal - the horizontal direction of the RecyclerView.

vertical - the vertical direction of the RecyclerView.

Types

Horizontal

enum class Horizontal

Identifies the horizontal direction of a RecyclerView.

Vertical

enum class Vertical

Identifies the vertical direction of a RecyclerView.

Constructors

<init>

LayoutDirection(horizontal: LayoutDirection.Horizontal, vertical: LayoutDirection.Vertical)

Identifies the direction of a RecyclerView's layout.

Properties

horizontal

val horizontal: LayoutDirection.Horizontal

the horizontal direction of the RecyclerView.

isBottomToTop

val isBottomToTop: Boolean

isRightToLeft

val isRightToLeft: Boolean

vertical

val vertical: LayoutDirection.Vertical

the vertical direction of the RecyclerView.