ascoders / react-native-image-viewer

🚀 tiny & fast lib for react native image viewer pan and zoom
MIT License
2.44k stars 580 forks source link

loadingRender percentage param - loadingRender 方法有图片加载百分比参数吗 #291

Open chinalwb opened 5 years ago

chinalwb commented 5 years ago

在图片加载过程当中, 目前的loadingRender 只能返回一个组件,但这个组件不能显示百分比。是否能在这个方法中上图片加载百分比的参数?


Currently loadingRender can only show a loading component, however if there can be an image loaded percent callback function that would be great.

Thanks.

sam9010 commented 4 years ago

@chinalwb do you fix it? i want to loading in images( in chat sample) but when image is high size, it is very slow to show i want a loading on image(images) how do fix it?