toggle menu
redwood
0.15.0
common
switch theme
search in API
redwood-lazylayout-api
/
app.cash.redwood.lazylayout.api
/
ScrollItemIndex
Scroll
Item
Index
@
Immutable
@
Serializable
class
ScrollItemIndex
(
val
id
:
Int
,
val
index
:
Int
,
val
animated
:
Boolean
=
false
)
Parameters
id
Should only be used to trigger recompositions.
Members
Constructors
Scroll
Item
Index
Link copied to clipboard
constructor
(
id
:
Int
,
index
:
Int
,
animated
:
Boolean
=
false
)
Properties
animated
Link copied to clipboard
val
animated
:
Boolean
=
false
True to smoothly scroll to the new position.
id
Link copied to clipboard
val
id
:
Int
index
Link copied to clipboard
val
index
:
Int