eneim
09/19/2021, 1:48 PMLazyColumn(modifier = Modifier.fillMaxSize()) {
item {
Box(modifier = Modifier.fillMaxWidth().height(200.dp))
}
items(100) {
Text(text = stringResource(id = R.string.long_text))
}
}
When I scroll down, the Box is out of the screen, but not enough for it to be disposed. How can I tell that the Box is out of the screen or not without using LazyListState? (So something that works even when the LazyColumn is replaced by a scrollable Column).Felix Schütz
09/19/2021, 3:57 PM.onGloballyPositioned
modifier?eneim
09/19/2021, 4:13 PMFelix Schütz
09/19/2021, 5:50 PM