toggle menu
JchuComponents
androidJvm
switch theme
search in API
jchucomponents-ui
/
com.jeluchu.jchucomponents.ui.composables.pager
/
PagerState
Pager
State
class
PagerState
(
currentPage
:
Int
=
0
,
minPage
:
Int
=
0
,
maxPage
:
Int
=
0
)
Members
Constructors
Pager
State
Link copied to clipboard
constructor
(
currentPage
:
Int
=
0
,
minPage
:
Int
=
0
,
maxPage
:
Int
=
0
)
Types
Selection
State
Link copied to clipboard
enum
SelectionState
:
Enum
<
PagerState.SelectionState
>
Properties
current
Page
Link copied to clipboard
var
currentPage
:
Int
current
Page
Offset
Link copied to clipboard
val
currentPageOffset
:
Float
max
Page
Link copied to clipboard
var
maxPage
:
Int
min
Page
Link copied to clipboard
var
minPage
:
Int
selection
State
Link copied to clipboard
var
selectionState
:
PagerState.SelectionState
Functions
fling
Link copied to clipboard
suspend
fun
fling
(
velocity
:
Float
)
select
Page
Link copied to clipboard
suspend
fun
selectPage
(
)
inline suspend
fun
<
R
>
selectPage
(
block
:
PagerState
.
(
)
->
R
)
:
R
snap
To
Offset
Link copied to clipboard
suspend
fun
snapToOffset
(
offset
:
Float
)
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String