I written a code in react native to fetch extra data by using refresh control.so, every time when i pull to refresh , extra data will fetch and added to the existence data and both will display on the screen.so, when pulling to refresh, the whole page is loading in safari browser , this is not happening in android and web.I need only, when i pull to refresh, the data should be fetched but the page should not load fully.so, can you please tell me how to restrict the page full loading in ios.enter code here
onRefresh=()=>{
this.setState({ refreshing:true})
// some code
this.setState({ refreshing: false})
}
refreshControl={
<RefreshControl
refreshing={this.state.refreshing}
onRefresh={this.onRefresh}
tintColor={Colors.LIGHT_YELLOW}
/>
}