React Native FlatList跳转到顶部/底部
核心代码如下:
<ScrollView showsVerticalScrollIndicator={ false} contentContainerStyle={styles.container} //下拉刷新 ,有 ScrollView 需要加载ScrollView,无则加到 FlatList refreshControl={ <RefreshControl refreshing={ this.state.isRefreshing} onRefresh={ this._onRefresh.bind(this, 0