sesl.androidx
Toggle table of contents
main
Platform filter
main
Switch theme
Search in API
sesl.androidx
viewpager2
/
androidx.viewpager2.widget
/
ViewPager2
/
setOrientation
set
Orientation
open
fun
setOrientation
(
orientation
:
Int
)
(
source
)
Sets the orientation of the ViewPager2.
Parameters
orientation
ORIENTATION_HORIZONTAL
or
ORIENTATION_VERTICAL