[APP-720] Paginate custom feeds (#1030)
* paginate custom feeds * Fix loading state bug * DRY code up
This commit is contained in:
parent
bf00d49863
commit
bb99a234e1
4 changed files with 50 additions and 5 deletions
|
@ -85,6 +85,7 @@ export const DiscoverFeedsScreen = withAuthRequired(
|
|||
renderItem={renderItem}
|
||||
initialNumToRender={10}
|
||||
ListEmptyComponent={renderListEmptyComponent}
|
||||
onEndReached={() => feeds.loadMore()}
|
||||
extraData={feeds.isLoading}
|
||||
/>
|
||||
</CenteredView>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue