Skip to content

Coil image loading fails sometimes causing the text composable to disappear #245

@atick-faisal

Description

@atick-faisal
        SubcomposeAsyncImage(
                model = post.url,
                contentDescription = post.title,
                modifier = Modifier
                    .fillMaxWidth()
                    .clip(RoundedCornerShape(16.dp)),
                loading = {
                    JetpackLoadingWheel(contentDesc = post.title)
                },
            )
            Spacer(modifier = Modifier.height(16.dp))
            Text(
                text = post.title,
                style = MaterialTheme.typography.bodyLarge,
            )

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions