setOrientation

open fun setOrientation(orientation: Int)

Sets the orientation of the layout. LinearLayoutManager will do its best to keep scroll position.

Parameters

orientation