Code example for SupportMapFragment

Methods: getActivity, onStart

0
    } 
     
     
    @Override 
    public void onStart() { 
        super.onStart(); 
        AnalyticsUtils.activityStart(getActivity()); 
    } 
 
    @Override 
    public void onStop() { 
        super.onStop(); 
        AnalyticsUtils.activityStop(getActivity()); 
    } 
 
    @Override 
    public void onDetach() { 
        mActivity = null;
        super.onDetach(); 
    }