scsjc Well-Known Member Licensed User Longtime User Nov 11, 2016 #1 Hello, A few time i publish this clase: https://www.b4x.com/android/forum/threads/grid-class-easy-and-fast-grid.71467/ I have a problem with a to much images... the memory is full and can display the images..... in video can view the problem..... thanks for help !!!!
Hello, A few time i publish this clase: https://www.b4x.com/android/forum/threads/grid-class-easy-and-fast-grid.71467/ I have a problem with a to much images... the memory is full and can display the images..... in video can view the problem..... thanks for help !!!!
Erel B4X founder Staff member Licensed User Longtime User Nov 13, 2016 #2 I'm not familiar with this class. However make sure to always use LoadBitmapSample when loading images. If you are loading many images then you will need to remove off-screen images and add them again when the user scrolls the list. Upvote 0
I'm not familiar with this class. However make sure to always use LoadBitmapSample when loading images. If you are loading many images then you will need to remove off-screen images and add them again when the user scrolls the list.
scsjc Well-Known Member Licensed User Longtime User Nov 13, 2016 #3 Hello Erel, thanks for answer !!! the class use the ... #AdditionalJar: picasso-2.5.2 https://www.b4x.com/android/forum/t...onaljar-and-javaobject-picasso.40904/#content how remove the images? with... . B4X: Dim jo = bmp As JavaObject jo.RunMethod("recycle", Null) thanks !!! Upvote 0
Hello Erel, thanks for answer !!! the class use the ... #AdditionalJar: picasso-2.5.2 https://www.b4x.com/android/forum/t...onaljar-and-javaobject-picasso.40904/#content how remove the images? with... . B4X: Dim jo = bmp As JavaObject jo.RunMethod("recycle", Null) thanks !!!
Erel B4X founder Staff member Licensed User Longtime User Nov 13, 2016 #4 I'm not sure whether picasso implements an internal cache of images. If so then you will need to check its API and see how you can remove old images. You will also need to remove images from the grid. Upvote 0
I'm not sure whether picasso implements an internal cache of images. If so then you will need to check its API and see how you can remove old images. You will also need to remove images from the grid.