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

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -