I just tried to update to dev07 and my list exampl...
# compose
v
I just tried to update to dev07 and my list example that worked perfectly okay in dev06 is now broken where I can see only 1 row of the list 😓
Here’s the code
Copy code
setContent {
    AdapterListingScrollableComponent(getDataList())
}
Copy code
@Composable
fun AdapterListingScrollableComponent(personList: List<Person>) {
    AdapterList(data = personList) { person ->
        Row(modifier = LayoutWidth.Fill + LayoutPadding(16.dp)) {
            Card(shape = RoundedCornerShape(4.dp), color = Color.White,
                modifier = LayoutWidth.Fill) {
                Text(
                    person.name, style = TextStyle(
                        color = Color.Black,
                        fontSize = 20.sp,
                        textAlign = TextAlign.Center
                    ), modifier = LayoutPadding(16.dp)
                )
            }
        }
    }
}
weirdly enough, I can still scroll
k
Check dev07 release notes maybe you can pick up something that might have changed.
l
cc @Ryan Mentley
my guess is the adapterlist is getting squished to be its minimum size?
r
Huh, weird... I didn't change anything in dev07
l
could be a layout related change?
v
No luck yet 😞 Is there anything wrong with the code that I shared above?
I was able to get some more details. This doesn’t happen when I run on my device. It only happens when I’m running it on the emulator. I’m using the Pixel 2 API 28 emulator image if that helps.