Hi,
I have 3 Bitmapdrawables that load into a customlistview item:
bd1 = bitmapdrawable
Item = custom type, containing...
img = imageview object
This works fine... until I switch to another app, and come back... then, I don't get exceptions but the image is not shown.
This is my code in Activity_Create (should it be initialized only if firstime=true?)
I've tried putting the initialization in Activity_Resume but no changes.
bd1 is declared in sub Globals.
Thank you!
I have 3 Bitmapdrawables that load into a customlistview item:
B4X:
Item.img.Bitmap = bd1.Bitmap
bd1 = bitmapdrawable
Item = custom type, containing...
img = imageview object
This works fine... until I switch to another app, and come back... then, I don't get exceptions but the image is not shown.
This is my code in Activity_Create (should it be initialized only if firstime=true?)
B4X:
bd1.Initialize(LoadBitmap(File.DirAssets, "first.png"))
I've tried putting the initialization in Activity_Resume but no changes.
bd1 is declared in sub Globals.
Thank you!