Sumit Jha
01/03/2024, 8:04 PMImage(
modifier = Modifier.height(200.dp),
painter = rememberAsyncImagePainter(
model = "url",
error = painterResource(id = R.drawable.image_placeholder)
),
contentDescription = null,
contentScale = ContentScale.FillWidth
)
config 2 ->
Image(
modifier = Modifier.fillMaxWidth(),
painter = rememberAsyncImagePainter(
model = "url",
error = painterResource(id = R.drawable.image_placeholder)
),
contentDescription = null,
contentScale = ContentScale.FillWidth
)
With config2, image is not shown.
whrereAs works fine with Config1Travis Griggs
01/03/2024, 8:07 PMSumit Jha
01/03/2024, 8:10 PMSumit Jha
01/03/2024, 8:15 PM