Replies: 1 comment
-
AsyncImage(
model = imageRequest
.build(),
onLoading = { loading ->
//do something
},
onSuccess = { success ->
//do something
},
onError = { error ->
//do something
},
contentDescription = contentDescription
) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
carl1990
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
AsyncImage( model = "http://pic-bucket.ws.126.net/photo/0003/2021-11-16/GOTKEOOU00AJ0003NOS.jpg", placeholder = painterResource(R.drawable.icon_printer), error = painterResource(R.drawable.icon_notification), modifier = Modifier .fillMaxHeight() .fillMaxWidth() .padding(start = 36.dp, end = 36.dp), )will show error icon,How can i know reason?
Beta Was this translation helpful? Give feedback.
All reactions