Is there any examples for loading new data when re...
# compose
s
Is there any examples for loading new data when reaching last item on Lazycolumn?
j
Doing something like that in following based on Compose Paging library https://github.com/joreilly/MortyComposeKMM
s
Thanks, i was actually trying to do it without Compose Paging lib.
s
Not totally sure but you could use last something position from scroll state and compare that with your list size to get your desired result. There is firstVisibleItemScrollOffset , also there should be last something too