-
-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shimmer effect is not working for GlideImage #42
Comments
When I set the same same |
Also circularRevealedEnabled property not reviling properly some images for example image like this The outcome the circle is not completing animation and keep corners rounded: And
As you can see no cross fade at all Shall I create separate issues for this? |
That seems to work correctly. The shimmer works but you can't see because the color is the same. Use different colors with the background color. |
Could you build again with this option on your modifier? |
Whoops, the README should be modified. Glide's Crossfade(
targetState = poster,
animationSpec = tween(3000)
) {
GlideImage(
imageModel = it?.poster!!,
modifier = Modifier.aspectRatio(0.8f),
bitmapPalette = BitmapPalette {
palette = it
}
)
} Also, the circular reveal animation seems like a bug! I will try to fix it in the next version. |
Fix calculating radius by the size of a bitmap (#42)
Fixed on a new SNAPSHOT release: |
Library Version
1.3.2
Affected Device(s) [e.g. Samsung Galaxy s10 with Android 9.0]
Android Emulator version API 30
Describe the Bug:
Shimmer Effect is not working for GlideImage
This example doesn't show any shimmer effect :( Looks like is not working.
Expected Behavior:
It should show shimmer effect while loading the image.
The text was updated successfully, but these errors were encountered: