# RecyclerView.LayoutManager.Properties

# RecyclerView.LayoutManager.Properties

Artifact:[androidx.recyclerview:recyclerview](https://developer.android.com/jetpack/androidx/releases/recyclerview)  
[View Source](https://cs.android.com/search?q=file:androidx/recyclerview/widget/RecyclerView.java+class:androidx.recyclerview.widget.RecyclerView.LayoutManager.Properties)  
Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/recyclerview#1.0.0)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/recyclerview/widget/RecyclerView.LayoutManager.Properties "View this page in Java")

<br />

```
class RecyclerView.LayoutManager.Properties
```

<br />

*** ** * ** ***

Some general properties that a LayoutManager may want to use.

## Summary

|                                                             ### Public constructors                                                              |
|--------------------------------------------------------------------------------------------------------------------------------------------------|
| [Properties](https://developer.android.com/reference/kotlin/androidx/recyclerview/widget/RecyclerView.LayoutManager.Properties#Properties())`()` |

|                                ### Public properties                                |
|-------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)         | [orientation](https://developer.android.com/reference/kotlin/androidx/recyclerview/widget/RecyclerView.LayoutManager.Properties#orientation()) [orientation](https://developer.android.com/reference/android/R.attr.html#orientation())                         |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [reverseLayout](https://developer.android.com/reference/kotlin/androidx/recyclerview/widget/RecyclerView.LayoutManager.Properties#reverseLayout()) [reverseLayout](https://developer.android.com/reference/kotlin/androidx/recyclerview/R.attr#reverseLayout()) |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)         | [spanCount](https://developer.android.com/reference/kotlin/androidx/recyclerview/widget/RecyclerView.LayoutManager.Properties#spanCount()) [spanCount](https://developer.android.com/reference/kotlin/androidx/recyclerview/R.attr#spanCount())                 |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [stackFromEnd](https://developer.android.com/reference/kotlin/androidx/recyclerview/widget/RecyclerView.LayoutManager.Properties#stackFromEnd()) [stackFromEnd](https://developer.android.com/reference/kotlin/androidx/recyclerview/R.attr#stackFromEnd())     |

## Public constructors

### Properties

Added in 1.0.0  

```
Properties()
```  

## Public properties

### orientation

Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/recyclerview#1.0.0)  

```
val orientation: Int
```

[orientation](https://developer.android.com/reference/android/R.attr.html#orientation())  

### reverseLayout

Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/recyclerview#1.0.0)  

```
val reverseLayout: Boolean
```

[reverseLayout](https://developer.android.com/reference/kotlin/androidx/recyclerview/R.attr#reverseLayout())  

### spanCount

Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/recyclerview#1.0.0)  

```
val spanCount: Int
```

[spanCount](https://developer.android.com/reference/kotlin/androidx/recyclerview/R.attr#spanCount())  

### stackFromEnd

Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/recyclerview#1.0.0)  

```
val stackFromEnd: Boolean
```

[stackFromEnd](https://developer.android.com/reference/kotlin/androidx/recyclerview/R.attr#stackFromEnd())