Piotr
01/11/2021, 3:43 PMLazyColumn() {
item {
box()
box()
box()
ScrollableTabRow()
}
itemsIndexed {...}
I need to know when the ScrollableTabRow moves past a certain position on y axis (for example lets say 100.dp )
I tried working with .scrollable()
(something like scrollable)
and with scroll gesture filter
(something like gesture)
and with dragGestureFilter
but i cannot get it to work, am i doing something wrong, or is it just not possible?Andrey Kulikov
01/11/2021, 3:46 PMScrollableTabRow
is not visible anymore or something more complex?Piotr
01/11/2021, 3:47 PMAndrey Kulikov
01/11/2021, 3:50 PMLazyColumn() {
item {
box()
box()
box()
}
item {
ScrollableTabRow()
DisposableEffect(Unit) {
onDispose {
// do something when ScrollableTabRow is not visible anymore
}
}
}
itemsIndexed {...}
Piotr
01/11/2021, 4:32 PMAndrey Kulikov
01/11/2021, 6:35 PMRafs
01/13/2021, 11:34 PMalpha-10
?Andrey Kulikov
01/14/2021, 12:07 AM