Answers for "adding refreshControl prop to the parent component of Flatlist which would be Content or Scrollview"

0

adding refreshControl prop to the parent component of Flatlist which would be Content or Scrollview

import { StyleSheet, RefreshControl } from 'react-native';

 refreshControl={
          <RefreshControl
            refreshing={this.state.isRefreshing}
            onRefresh={() => this.handleRefresh()}
          />
        }
Posted by: Guest on September-19-2021

Code answers related to "adding refreshControl prop to the parent component of Flatlist which would be Content or Scrollview"

Browse Popular Code Answers by Language