setOrientation

open fun setOrientation(orientation: Int)(source)

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

Parameters

orientation