Each onDraw() call (and there are many) allocates a new sub-bitmap (leaving the garbage collector a lot of work on real time).
One (not so good) so good solution is to build an array of all of the sub-bitmaps before calling onDraw(). The problem is that this is not possible for very large images.
Each onDraw() call (and there are many) allocates a new sub-bitmap (leaving the garbage collector a lot of work on real time).
One (not so good) so good solution is to build an array of all of the sub-bitmaps before calling onDraw(). The problem is that this is not possible for very large images.