jeudi 1 septembre 2016

java.lang.OutOfMemoryError

hi
i had made a program that loads about 200 items in a custom listview
in item 189 it crashes and give out of memory error

i had already used loadsample

Code:
  imv.Bitmap = LoadBitmapSample(File.DirInternalCache,AsyncDownloader.FileName,640,360)  
my device is galaxy s6 edge, which is very powerfull, why did it crashed in less than 200 images ?

is there is a way to load the images only when i scroll to them ?

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2c4WGll
via IFTTT

Aucun commentaire:

Enregistrer un commentaire