Lukas Janocko

There's a problem with AR.AnimatedImageDrawable, that if I want to display e.g. 40 markers. There is an image on few of them but most of the markers are completely missing images.

Lukas

L

Lukas Janocko

said
over 2 years ago

Hi,

anything new regarding my problem?

I also noticed that if I go to multitasking and back, rest of the images will show up.

Lukas

Wikitude Technical Support

said
over 2 years ago

Please check file size of your thumbnails and use console.logs and WebView debugging to better understand the runtime behaviour.

Also implement onError callbacks so that you can properly handle resources that are not available.

resource loading is not that trivial. I recommend loading all assets you need before showing them and show a loading indication in the meantime. Once all Drawables are loaded you create the markers and call .destroy() once you no longer need them.