ImageResources paths are not meant to be changed at runtime. You may define a set of ImageResources and adjust the GeoObjects cam-drawables instead, using geoObject.drawables.addCamDrawable and geoObject.drawables.removeCamDrawable
Hope that helps, Kind regards, Andreas
over 9 years ago
I need to change my imageResource everytime a certain object is detected in my data function(commented in code). Is it possible to a certain methode like the one that is used to alter text in a label?