Code example for FragmentActivity

Methods: onStop

0
    } 
 
    @Override 
    protected void onStop() { 
        BaseActivity.onActivityStopped(this);
        super.onStop(); 
    } 
 
    @Override 
    protected void onDestroy() { 
        clearGeoCodingQueue(); 
        clearMarkerAdds(); 
        if (mServiceConnection != null) {
            unbindService(mServiceConnection);
            mServiceConnection = null;
        } 
        mInstance = null;
        super.onDestroy(); 
    } 
     
    private void addMarker(MarkerOptions markerOptions, MarkerAdds markerAdds) {