https://kotlinlang.org logo
Title
t

Tiago Nunes

05/28/2021, 8:37 PM
Hey everyone, I'm getting a weird bug with LazyRow... for some reason, when I scroll through 4 cards, the next cards are EMPTY! When I scroll back, the old cards are also empty... What am I doing wrong?
@Composable
fun HeaderCards(users: List<User>) {
    LazyRow(
        contentPadding = PaddingValues(horizontal = 10.dp),
        modifier = Modifier
            .fillMaxWidth(),
    ) {
        items(users) { user ->
            HeaderCard(user)
        }
    }
}
z

Zach Klippenstein (he/him) [MOD]

05/28/2021, 8:55 PM
I believe that's a known issue, I think it should be fixed in the next release
👍 2
c

Colton Idle

05/28/2021, 9:22 PM
Tiago Nunes yeah I think the issue tracker has been posted a few times here if you search for lazyRow or lazyColumn and sort by recent.
t

Tiago Nunes

05/28/2021, 10:53 PM
@Colton Idle Thanks! I google'd and searched lazyrow on this channel a bit and I couldn't find it, I really thought I was making some error 😅