setOrientation

open fun setOrientation(orientation: Int)

Sets the orientation of the ViewPager2.

Parameters