samuel
04/14/2021, 10:12 PMLazyColumn with a VerticalScrollBar, i’m using
rememberScrollbarAdapter as the adapter and it requires averageItemSize . I could imagine this works fine when the items are expected to be the same size. How do i handle the case when items might not be the same size. Is there an alternative i might have missed?Chris Sinco [G]
04/14/2021, 10:31 PMChris Sinco [G]
04/14/2021, 10:32 PMstickyHeader which is experimental, but can cause the issue of the averageItemSize not being uniformsamuel
04/14/2021, 10:42 PMCustomScrollAdapter worked perfect with the mouse wheel though, thanks 🙏Chris Sinco [G]
04/14/2021, 11:21 PMDominaezzz
04/15/2021, 7:50 AMsamuel
04/15/2021, 8:38 AMaverageItemSize has a relatively big change once the first item in the list(below the sticky header) gets to the top of the sticky header (happens while scrolling). This seems to cause the scroll bar to change its height, atleast in my case. Once the height has been changed, there is no more “resistance”. thanks Dominic btw 😄Yan Pujante
04/15/2021, 2:13 PMaverageItemSize issue, I fixed mine by not using a LazyColumn for now. If I end up bumping into performance issue I will split into multiple "pages". In my case I have a list of cards that can be individually expanded and so it is a total mess with LazyColumn and scrollbar...Chris Sinco [G]
04/15/2021, 4:52 PMColumn would break down there. But I don’t do any paging on the data structure