android - Refresh Controll stops working if listView goes offscreen -
im trying receive list of itens firebase, including image, wich rendered in list.
the problem is, when list gets big fall of screen, refresh controll stops working.
working way, list full on screen
not working, if pulled, makes effect of "reached on max"
render method
<view contentcontainerstyle={{ flex: 1 }}> <listview enableemptysections datasource={this.datasource} renderrow={this.renderrow} refreshcontrol={ <refreshcontrol refreshing={this.state.refreshing} onrefresh={this.onrefresh.bind(this)} /> } /> </view>
onrefresh() { this.setstate({ refreshing: true }); this.props.eventsfetch(); }
Comments
Post a Comment