react-native-bidirectional-infinite-scroll
react-native-bidirectional-infinite-scroll copied to clipboard
How to make the bottom activity loader to be evident
Hi greetings. I am trying to make the activity loader to be clearly visible when user scroll down to list. but to see activity indicator i need to swipe twice. For the first time i am able to scroll to the last element and cant see the activity indicator. the again if i swipe i was able to see the activity indicator.
my code implementation
const onEndReached = async() => {
return fetch()
}
<View style={{ backgroundColor: 'white', flex: 1 }}>
<FlatList
data={creatorStore.bytesGridViewList}
renderItem={renderItem}
onStartReached={handleOnStartReached}
onEndReached={handleOnEndReached}
numColumns={3}
/>
</View>
````
can anyone help me to sort this out