L leitor79 Active Member Licensed User Longtime User Sep 5, 2018 #1 Hi, I have 3 Bitmapdrawables that load into a customlistview item: Code: 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?) Code: 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!
Hi, I have 3 Bitmapdrawables that load into a customlistview item: Code: 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?) Code: 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!
L leitor79 Active Member Licensed User Longtime User Sep 5, 2018 #2 Solved. Wasn't a bitmapdrawable problem. It was due creating a new panel for the customlistiview and not assigning the new views to the current item. Regards! Upvote 0
Solved. Wasn't a bitmapdrawable problem. It was due creating a new panel for the customlistiview and not assigning the new views to the current item. Regards!