Open yangxiaoyao opened 7 years ago
You can use internal method _refresh
to do it
class MyCustomComponent extends Component {
refresh() {
this.refs.listview._refresh();
}
render() {
return (
<GiftedListView ref="listview"
...
/>
);
}
}
how can i refresh GiftListView at father componet? may be i should use _onFetch, but i don't have the callback...