react-native-gifted-listview icon indicating copy to clipboard operation
react-native-gifted-listview copied to clipboard

请问如何实现向上拖动刷新呢?不需要点击 "load more"??

Open gongchao opened this issue 8 years ago • 7 comments

有实现 listView 的 onEndReached 的吗?

gongchao avatar Sep 04 '16 07:09 gongchao

感谢作者!

gongchao avatar Sep 04 '16 07:09 gongchao

#34

kokororin avatar Sep 04 '16 09:09 kokororin

@kokororin 感谢🙏

gongchao avatar Sep 04 '16 15:09 gongchao

@gongchao 你实现了吗?我怎么用起来给我报错。。报的是undefined is not an object (evaluating 'this.refs.listView'),用的就是34楼给的代码。。

iamdurui avatar Sep 19 '16 02:09 iamdurui

@iamdurui 我也遇到了你的问题,应该是你所用的this的问题,你代码中的那个this并不能调用onEndReach方法,你可以重新定义一个上下文就好了。

shangcongrong avatar Sep 21 '16 07:09 shangcongrong

@shangcongrong 谢谢,我前天就搞定了,排查了一下。。。

iamdurui avatar Sep 21 '16 10:09 iamdurui

@iamdurui是怎么实现的呀?能贴下代码吗?谢谢

luomouren avatar Nov 17 '16 10:11 luomouren