appandflow / appandflow/react-native-masonry-list

Pull to refresh not working

オープン
#25 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
171
フォーク
45
PR マージ指標
30日以内にマージされた PR はありません

説明

Pull to refresh feauture not working

` _onRefresh=()=> {
this.setState({refreshing: true});
const{username}=this.state;
this.props.getInspiration({username,offset:0})
.then(r=>{
this.setState({posts.data.posts,refreshing: false})
});
}`

` 1}
data={this.state.posts}
renderItem={(item)=>}
/>`

If i set refreshing=true, the loading indicator shows, however when I pull to call my _onRefresh function, nothing happens.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。