Code example for SupportMapFragment

Methods: getActivity, onStop

0
        AnalyticsUtils.activityStart(getActivity()); 
    } 
 
    @Override 
    public void onStop() { 
        super.onStop(); 
        AnalyticsUtils.activityStop(getActivity()); 
    } 
 
    @Override 
    public void onDetach() { 
        mActivity = null;
        super.onDetach(); 
    } 
 
    @Override 
    public final void onCreateOptionsMenu(android.view.Menu menu, android.view.MenuInflater inflater) {
        onCreateOptionsMenu(new MenuWrapper(menu), mActivity.getSupportMenuInflater());
    } 
 
    @Override