setOrientation

open fun setOrientation(orientation: Int)(source)

Sets the orientation of the ViewPager2.

Parameters