Saiedmomen
05/21/2021, 7:38 AMLazyColumn
as a state and recompose another composable based on it. I have found listState.layoutInfo.visibleItemsInfo
which works mostly except that it gets updated with every minuscule scroll and causes performance issues. Is there a pattern to implement filter or debounce like behavior with compose state?
Is my approach completely wrong?Albert Chang
05/21/2021, 8:15 AMfirstVisibleItemIndex
not enough?Saiedmomen
05/21/2021, 8:27 AMAndrey Kulikov
05/21/2021, 10:58 AM