0

I would like to draw some bitmaps. There are many bitmaps that should be drawn with the first call of onDraw() method. But it should not be redrawn every time because it needs some time. I figured out that the bitmaps are always cleared when calling onDraw() method.

Is there a possibility to add bitmaps after calling onDraw() method without redrawing existing bitmaps? A solution might be calling draw methods outside onDraw(). But I did not find a solution how to do it. What is the recommended way to add new Bitmaps to the View?

JavaForAndroid
  • 1,111
  • 2
  • 20
  • 42

0 Answers0