https://kotlinlang.org logo
#compose
Title
# compose
a

alorma

02/25/2021, 9:14 AM
Hi. I'm using
CoilImage
to show an image:
Copy code
CoilImage(
            data = "",
            modifier = modifier,
            contentDescription = "",
            contentScale = ContentScale.Crop,
            loading = { CircularProgressIndicator(Modifier.align(Alignment.Center)) }
        )
But it not shows the image loaded from network (

https://random.dog/00186969-c51d-462b-948b-30a7e1735908.jpg

) The error is:
Copy code
Error(painter=null, throwable=kotlinx.coroutines.JobCancellationException: StandaloneCoroutine was cancelled; job=StandaloneCoroutine{Cancelled}@7155d16)
The full code: /
j

joakim

03/05/2021, 8:34 PM
Hey @alorma what was the solution to this?
a

alorma

03/06/2021, 7:52 AM
Just restart the emu
7 Views