An open API service indexing awesome lists of open source software.

https://github.com/gajjartejas/react-native-flatlist-pagination-example

Pagination and Pull to refresh example with rn-placeholder. API response is fast so I have added delay for visualization purposes.
https://github.com/gajjartejas/react-native-flatlist-pagination-example

loadmore placeholder pulltorefresh react-native

Last synced: 6 months ago
JSON representation

Pagination and Pull to refresh example with rn-placeholder. API response is fast so I have added delay for visualization purposes.

Awesome Lists containing this project

README

          


[](http://www.instagram.com/gajjartejas)
[](http://www.twitter.com/gajjartejas)
[](http://www.reddit.com/u/gajjartejas)

# React-Native-Flatlist-Pagination-Example
Pagination and Pull to refresh example with rn-placeholder. API response is fast so I have added delay for visualization purposes.

See:
```
_getUsersApi = async () => {
//API is too fast, adding timeout to visualize loader
await new Promise((resolve) => setTimeout(resolve, 2000));
...
};
```

## Demo (React Native v0.63.2)
![](demo.gif)

## Thirdparty library used
1. rn-placeholder