Thierry
02/21/2020, 12:14 AMZach Klippenstein (he/him) [MOD]
02/21/2020, 12:17 AMRipple
+ Clickable
not working after a lot of scrolling? Maybe just one or the other, I haven’t had time to dig into it.Thierry
02/21/2020, 12:17 AMZach Klippenstein (he/him) [MOD]
02/21/2020, 12:25 AMLeland Richardson [G]
02/21/2020, 12:31 AMRyan Mentley
02/21/2020, 12:46 AMThierry
02/21/2020, 12:49 AMRyan Mentley
02/21/2020, 2:18 AMOnChildPositioned
thing and update the data for drawing, I thinkZach Klippenstein (he/him) [MOD]
02/22/2020, 7:27 PMOnPositioned
inside of the list item, and it definitely works!
AdapterList(data = (1..100).toList()) { item ->
var bounds by state { "waiting for position…" }
Stack(modifier = DrawBorder(size = 1.dp, color = Color.Red)) {
OnPositioned(onPositioned = { coords ->
bounds = coords.boundsInRoot.toString()
})
ListItem(text = item.toString(), overlineText = bounds)
}
}
Ash
02/22/2020, 9:29 PMThierry
02/23/2020, 4:35 PM