Vito Chen

Results 12 comments of Vito Chen

暂时我也没有什么好办法 android你可以先用basic的refreshMode。至于advanced的refreshMode 的问题 欢迎PR

Hi, dear author. Sorry for the late reply. I have tried it in the `onError()` callback, but nothing being caught. As I mentioned before, I would like to catch the...

You may need to write a sleep function, and use it like await this.sleep(5000) to make it asynchronous.

@samw2k00 Yep, like below: ``` sleep = (time) => { return new Promise((resolve, reject) => setTimeout(() => resolve(), time)); }; handleOnError = (source) => { if (source && source.uri){ console.log('handle...

Yes, I guess it might be caused by unstable network transmission, which makes the downloaded image has binary loss. You may need to check whether the downloaded image is completed.

I am also using the Gallery. And, I have tried if you set the initialListSize to the length of your assets, app will run out of memory when you are...

I think the best solution is to replace the ListView with FlatList, and use the ScrollToIndex api to navigate to the exact item. However, it might be a huge code...

If you take a look at the source code of Gallery, you will find out the `initialListSize` isn't exposed to the ListView of ViewPager. That's why you need to modify...

I am facing the same issue. I need to load images in each row of my listview, the first time to render the listview, some of the images always stuck...