brh55 / react-native-masonry

:raised_hands: A pure JS react-native component to render a masonry~ish layout for images with support for dynamic columns, progressive image loading, device rotation, on-press handlers, and headers/captions.
MIT License
1.32k stars 157 forks source link

Add lazy loading functionality #87

Closed brh55 closed 6 years ago

brh55 commented 6 years ago

This allows users to pass in a onEndReached and a onEndReachedThreshold, the masonry will continue to progressively load the grid, but will ensure that onEndReached will not be invoked until all respective bricks have been resolved.

alleniver commented 6 years ago

good job man!