Android Question xCustomListview go slow on Loading Images with LazyLoading

Alexander Stolte

Expert
Licensed User
Longtime User
Hello,

i use LazyLoading on my xCustomListView, without "LoadBitmapResize" or "LoadBitmap" is the panel will be created within 5-7 ms, this is very fast and smooth on scrolling.
But if i Load the Images from the cache (Size: 100-300kb) with "LoadBitmapResize", then the Panel will be created within 70-80ms, the list jiggle when I load the image into the ImageView.

how can i improve that?

Thanks
 
Solution
I have it now!

After Downloading the images i convert the image to a byte array and then i save it.
Then on layout creating, i load a placeholder as image, make a CallSubDelayed to my Starter Service, load the image in a bmp and resize it, only then i load the image into the ImageView. List is very smooth on scrolling...

Alexander Stolte

Expert
Licensed User
Longtime User
I have it now!

After Downloading the images i convert the image to a byte array and then i save it.
Then on layout creating, i load a placeholder as image, make a CallSubDelayed to my Starter Service, load the image in a bmp and resize it, only then i load the image into the ImageView. List is very smooth on scrolling...
 
Upvote 0
Solution
Top