You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've added support for loading a placeholder image from any source, then crossfading to the main image. The snippet below works perfectly fine in combination with the Android UI Toolkit.
Is there a way I can achieve the same in compose, or would I need to copy and modify rememberAsyncImagePainter in order to achieve the same?
Any help here is appreciated. The ideal solution would be for Coil to supported any image request as the placeholder (similar to Glide and Picasso), as it would also deal with crossfading.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I've added support for loading a placeholder image from any source, then crossfading to the main image. The snippet below works perfectly fine in combination with the Android UI Toolkit.
https://gitlab.com/fredriklarsen/AirBrush/-/snippets/2423822
Is there a way I can achieve the same in compose, or would I need to copy and modify
rememberAsyncImagePainter
in order to achieve the same?Any help here is appreciated. The ideal solution would be for Coil to supported any image request as the placeholder (similar to Glide and Picasso), as it would also deal with crossfading.
Cheers!
Beta Was this translation helpful? Give feedback.
All reactions