Is there a way with coil-compose to specify that y...
# compose
r
Is there a way with coil-compose to specify that you want the placeholder image to render at a different size than the real image?
p
I think SubcomposeAsyncImage can do that if you're using 2.0
Copy code
SubcomposeAsyncImage(
                model = ImageRequest.Builder(LocalContext.current)
                    .data(imgUrl)
                    .build(),
                contentDescription = null,
                loading = {
                    LargeComposable()
                }
            )
r
Yep, you’re right. I’ll use that. Thank you!
1
🙌 1