-
-
Save skydoves/5f0603b19ff61fcbc4213c280af724bc to your computer and use it in GitHub Desktop.
GlideImage3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GlideImage( | |
imageModel = imageUrl, | |
// Crop, Fit, Inside, FillHeight, FillWidth, None | |
contentScale = ContentScale.Crop, | |
// shows an image with a circular revealed animation. | |
circularRevealedEnabled = true, | |
// shows a placeholder ImageBitmap when loading. | |
placeHolder = ImageBitmap.imageResource(R.drawable.placeholder), | |
// shows an error ImageBitmap when the request failed. | |
error = ImageBitmap.imageResource(R.drawable.error) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment