Black screen due to view Flipper images

I am making an app in which I have used Viewflipper component to show images .

Whenever I add images to Viewflipper and exports the app to test it, black screen appears and takes 10-12 seconds to load screen…

But when I remove images from view Flipper, it works smoothly

Anyone please help me…

(Images are not from assets but are external links)

1 Like

Try reducing image quality if that can be a option.
Load images asynchronously.

Cover loading time with a loading screen.

1 Like

I did not understand asynchronouse image…

Do I need to crop it…?

1 Like

Use Image Utilities component, it has only one block - Asynchronous Image Loading.
component_method

Currently your App now first load all images then open (reason of black screen).

But if you use Asynchronous image loading your App will First Start then will load Images One by One. Making app Faster or u can say no black screen.

3 Likes

You can also use this extension and use place holder till the image get loads and it also have caching na so it may be better.
https://community.kodular.io/t/free-image-loader-extension-for-image-loading-and-caching/69381/37

3 Likes

Thankyou it even helped me.
I was also looking for caching images. :heart:

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.