public void doCallback() {
   if (Gl.isChangedCity()) {
     Gl.setChangedCity(false);
     mWorkSpace.loadCityView();
   }
   mWorkSpace.setToScreen(Gl.getCurrentCityIndex());
 }
 private void doIntentCityManager() {
   if (WeatherData.getCityInfo(Gl.getCurrentCityIndex()).mShowType
       == com.moji.mjweather.data.CityWeatherInfo.ShowType.ST_UPDATING) {
     Toast.makeText(this, 0x7f0b0041, 0).show();
   } else {
     Gl.setChangedCity(false);
     startActivityForResult(new Intent(this, CityManagerActivity.class), 99);
   }
 }
 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());
   }
 }