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

minify - Minimizing css files -

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -