caif
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
caif
core
/
com.nxoim.caif.core.base
/
AnimatedInt
Animated
Int
class
AnimatedInt
(
initialValue
:
Int
=
0
,
label
:
String
=
"AnimatedInt"
)
:
AbstractMutableAnimatedValue
<
Int
,
AnimationVector1D
>
Members
Members & Extensions
Constructors
Animated
Int
Link copied to clipboard
constructor
(
initialValue
:
Int
=
0
,
label
:
String
=
"AnimatedInt"
)
Properties
value
Link copied to clipboard
open
override
var
value
:
Int
velocity
Link copied to clipboard
open
override
val
velocity
:
Int
Functions
animate
To
Link copied to clipboard
open
suspend override
fun
animateTo
(
target
:
Int
,
spec
:
AnimationSpec
<
Int
>
=
spring()
,
initialVelocity
:
Int
=
velocity
,
stopOnTargetReached
:
Boolean
=
false
)
to
Animated
Value
Link copied to clipboard
fun
<
Value
>
MutableAnimatedValue
<
Value
>
.
toAnimatedValue
(
)
:
AnimatedValue
<
Value
>