I guess a few of you are using Coil to load and sh...
# multiplatform
m
I guess a few of you are using Coil to load and show images. Can anybody explain to me why I see a cross-fade animation of the images inside an AsyncImage only once for each image but not when I show the image for a second time? I have set up an AsyncImage like this:
Copy code
AsyncImage(
	model = ImageRequest.Builder(LocalPlatformContext.current)
		.data(resolvedTalkImageUrls[currentImageIndex])
		.crossfade(true)
		.build(),
	...
)
I currently testing this on desktop but later it is supposed to run on wasmJs too.
👍 1
e
Without the docs in front of me, what if you move the ImageRequest into a
remember
with the data as the key?
m
@eygraber That doesn’t make a difference.