I would like to remove my Download More button from my application and implement a function like inifinite-scroll, which allows users to view message history and download old messages as they request.
I am switching to the FlatList component because the ListView is deprived, and I am trying to find a good implementation to determine when the user scrolls to the top of the page. Due to the fact that FlatList always starts at the top of the list, we want you to only onTopReached when the user scrolls the list.
How can i do this?
Links to open source versions will be appreciated, but should be indicated as a comment and not an answer. Implementations using ListViews do not matter.
source share