Closed GoogleCodeExporter closed 9 years ago
You are correct - we do need something like that. I will add a method but I am
going to make it a member method rather than static.
Original comment by kurtzm...@gmail.com
on 13 Dec 2013 at 3:32
This issue was closed by revision r1395.
Original comment by kurtzm...@gmail.com
on 13 Dec 2013 at 3:34
Hi,
Doesn't it have to be called somewhere centrally?
For example why not having a destroy method at MapView
which does all the proper memory clearing calls
and we call it at our activity finish?
Best regards, Emux
Original comment by devemu...@gmail.com
on 13 Dec 2013 at 6:20
BitmapPool is a singleton. This leads to the fact that the memory of bitmap
pool is not reclaimed when activity is destroyed.
Wouldn't it be better to bind BitmapTool to instance of MapView, or to the
context of activity?
Memory of the tile cache also requires to be reclaimed manually due to static
instances of tile sources. That's bad.
Original comment by ls.illar...@gmail.com
on 14 Dec 2013 at 12:41
Original issue reported on code.google.com by
jaanus.h...@gmail.com
on 13 Dec 2013 at 12:02