I can not find setImageBitmap from ImageSwitcher. is there any way to set it using a bitmap?
UPDATES1 then I found this -> set image from file URI
But my case: I need to draw something in a bitmap before it is set to ImageSwitcher. So, is there no way to set it through a bitmap? if there is no way, I have to output the image file from the modified bitmap, and then use setImageURI. But this is a waste of memory.
UPDATES2 Alternative. Is there a way to dynamically store an image file from an SD card in R.drawable or R.raw to generate a resource identifier / identifier. Then use it for setImageResource or setImageDrawable?
eros source share