-
-
Save skydoves/91ed62ba72e5ef91ce67b82830da60c9 to your computer and use it in GitHub Desktop.
FrescoImage
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 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