appandflow / appandflow/react-native-masonry-list

Pull to refresh not working

Abierto
#25 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
171
Forks
45
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.