コード例 #1
0
 @Override
 public void onCreate(Bundle savedInstanceState) {
   requestWindowFeature(Window.FEATURE_NO_TITLE);
   setContentView(R.layout.forecast_page);
   super.onCreate(savedInstanceState);
   dataManager = AppLocator.resolve(IDataManager.class);
   checkIntent();
   initViews();
   initListeners();
 }
コード例 #2
0
 @Override
 public void onResume() {
   super.onResume();
   dataManager.getWeatherForecast(listener);
 }