AryanGupta
(Aryan Gupta)
September 25, 2020, 9:37am
#1
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.
or
AryanGupta
(Aryan Gupta)
September 25, 2020, 9:42am
#7
i am using 30 images component dynamically.
and set a image to these 30 images
AryanGupta
(Aryan Gupta)
September 25, 2020, 9:43am
#9
No, sorry
my app is about to complete.
i don’t want to take any risk
Enderman
(Shreyansh)
September 25, 2020, 9:46am
#11
It may be because of your phone I think
AryanGupta
(Aryan Gupta)
September 25, 2020, 9:47am
#12
No, my Phone is made in china
AryanGupta
(Aryan Gupta)
September 25, 2020, 9:49am
#14
i am using blocks to show the images
Enderman
(Shreyansh)
September 25, 2020, 9:49am
#15
At least you show in Appetize.io
Enderman
(Shreyansh)
September 25, 2020, 9:51am
#16
Which screen makes your app hang
AryanGupta
(Aryan Gupta)
September 25, 2020, 9:52am
#17
Actually, i have 2 screens one is screen 1 and another is screen 2
Screen2 is making my app hang
Enderman
(Shreyansh)
September 25, 2020, 9:54am
#18
Any extension are you using
AryanGupta
(Aryan Gupta)
September 25, 2020, 9:56am
#19
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:
Image Loader
Hi everyone,
Today I present a new extension based on Universal Image Loader that allows you to load and cache images.
Demo
Event
OnLoadingStarted: Event when the loading of the image is started. The url returns the URL of the image.
[OnLoadingStarted]
OnLoadingFailed: Event when the image is failed to load. The url returns the URL of the image.
[OnLoadingFailed]
OnLoadingComplete: Event when the image is loaded. The url returns the URL of the image.
[OnLoadi…
Also try loading images from urls/ fonts like font awesome and not from assets
1 Like