scrolling issues in gridview when displaying a large number of images in android
-
12-10-2019 - |
سؤال
I want to display a large number of images(say 500).i am currently displaying them in a scrollable grid layout by lazyloading images(very similar to fedor's lazylist). but i am having issues while scrolling the grid. when i scroll the grid, the views get refreshed and the actual images are reloaded. so, even the images that were displayed earlier are refetched from SD card. this causes a very slow UI. is there any solutions for this.(i.e is there a way to tell the grid view not to refesh views on scrolling).
or
is there any other better way to display large number of images.
المحلول
Thumbnails would speed things up a bit. Check out: Android how to create runtime thumbnail
لا تنتمي إلى StackOverflow