Paginating backward with FlatList

Please provide the following:

  1. SDK Version: 37
  2. Platforms(Android/iOS/web/all): Android/iOS

Is there no way to paginate backward through an API with the FlatList component?

We currently use FlatList with a paginated API, and it works great; whenever onEndReached() is called, we load the next set of results. However, we’d like to be able to “jump” forward in the result set (e.g. to results starting with a certain letter of the alphabet), then allow the user to scroll backward through the list. But that would require something like onBeginningReached(), which doesn’t appear to exist.

Are we missing something or is this not possible?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.