appandflow / appandflow/react-native-masonry-list

Pull to refresh not working

Ouverte
#25 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
171
Forks
45
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.