-
-
Save skydoves/99b515bffb2749a54b28f14a70de4f88 to your computer and use it in GitHub Desktop.
FrescoImageCircular
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
FrescoImage( | |
imageUrl = stringImageUrl, | |
// Crop, Fit, Inside, FillHeight, FillWidth, None | |
contentScale = ContentScale.Crop, | |
// shows an image with a circular reveal animation. | |
circularRevealEnabled = 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