i have a image which used in 30 cardviews dynamically.
i am calling a procedure at screen initialize.
i am making 30 ++ cardviews and loading 30 ++ images in these cardviews.
but when i install my app and open the app . it start hanging tooo much. and sometimes it closes the app.
please help me
Please provide more information using images or blocks to convey your problem in detail.
Also clarify which statement is correct.
i am using 30 images component dynamically.
and set a image to these 30 images
my app is about to complete.
i don’t want to take any risk
It may be because of your phone I think
No, my Phone is made in china
i am using blocks to show the images
At least you show in
Which screen makes your app hang
Actually, i have 2 screens one is screen 1 and another is screen 2
Screen2 is making my app hang
Any extension are you using
yes, there is two extension one is phase extension and another is dynamic component ?
Both are verified Extensions ?
You can use this extension, it will load images async and won’t lag the main thread:
Today I present a new extension based on
Universal Image Loader that allows you to load and cache images.
OnLoadingStarted: Event when the loading of the image is started. The url returns the URL of the image.
OnLoadingFailed: Event when the image is failed to load. The url returns the URL of the image.
OnLoadingComplete: Event when the image is loaded. The url returns the URL of the image.
Also try loading images from urls/ fonts like font awesome and not from assets