Code example for MapView

Methods: onResume

0
	} 
 
	@Override 
	public void onResume() { 
		if (mMapView != null) {
			mMapView.onResume();
		} 
		super.onResume(); 
	} 
 
	@Override 
	public void onDestroy() { 
		if (mMapView != null)
			mMapView.onDestroy();
		super.onDestroy(); 
	} 
 
	protected void initControls(View view, Bundle instanceState) {
		mMapView = (MapView) view.findViewById(R.id.mapview);
		if (mMapView != null) {
			mMapView.onCreate(instanceState);