RefreshControl can not work in android
See original GitHub issuehi,when I use ListView ,IOS work well,but android not work!
<ListView enableEmptySections={true}
dataSource={this.state.dataSource}
refreshControl={
<RefreshControl
refreshing={this.state.isRefreshing}
onRefresh={this._onRefresh.bind(this)}
tintColor=“#ff0000”
enabled={true}
title=“pull down to update…”
colors={[‘#ff0000’, ‘#00ff00’, ‘#0000ff’]}
progressBackgroundColor=“#ffff00”
/>
}
onEndReached={this._pullUpToLoadMore.bind(this)}
onEndReachedThreshold={this.state.dataSize}
renderHeader={this._renderHeader.bind(this)}
renderRow={(rowData)=>{return this._renderRow(rowData,_navigator)}}
initialListSize = {20}
renderScrollComponent={props => <RecyclerViewBackedScrollView {…props} />}
renderSeparator={(sectionID, rowID) => <View key={${sectionID}-${rowID}
} style={styles.separator} />}
/>
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (2 by maintainers)
+1
+1 pull-down doesn’t work in android