CollectionOrientation

A value class that wraps an integer representing the orientation of a collection. This provides type safety and convenience methods for working with RecyclerView orientations.

Parameters

value

The integer value representing the orientation (RecyclerView.VERTICAL or RecyclerView.HORIZONTAL)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Checks if the collection orientation is horizontal.

Link copied to clipboard

Checks if the collection orientation is vertical.