Android MapView v2 Context Issues and Memory Leak
I'm using MapView v2 in my application (not MapFragment ) and it's causing a memory leak. The leak occurs when I pass the Activity context to the MapView constructor. If I pass the Application Context to the MapView constructor the memory leak goes away, however the MapView starts performing badly when I scroll the ScrollView it's in. Here's a snapshot of where the leak is happening: The relevant code in MapView is: public class MapView extends android.widget.FrameLayout { private final com.google.android.gms.maps.MapView.b gD; static class b extends com.google.android.gms.dynamic.a<com.google