Hi, could someone help me out by telling me, how I...
# compose
d
Hi, could someone help me out by telling me, how I could create a declarative (without modifying xml) image slide in Jetpack Compose? I would appreciate it🙆‍♂️
z
Do you mean a slide animation?
d
yes
z
There’s an
Image
composable for images, and there’s a bunch of animation APIs. The easiest way is probably to use
animatedFloat()
with
Modifier.offset()
.
d
I can load an
Image
with image url?
z
d
thanks a lot