public void doCallback() { if (Gl.isChangedCity()) { Gl.setChangedCity(false); mWorkSpace.loadCityView(); } mWorkSpace.setToScreen(Gl.getCurrentCityIndex()); }
protected void onActivityResult(int i, int j, Intent intent) { super.onActivityResult(i, j, intent); mIsFromCityView = true; if (i != 99) { if (i == 100) checkAddCity(); } else { if (Gl.isChangedCity()) { Gl.setChangedCity(false); mWorkSpace.loadCityView(); } mWorkSpace.setToScreen(Gl.getCurrentCityIndex()); } }