How to make the bottom activity loader to be evident
chaitanya71998 opened this issue · 0 comments
chaitanya71998 commented
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