Esempio n. 1
0
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   //        SharedPreferences hotelInfo =
   // Handler_SharedPreferences.ReadSharedPreferences(getContext(), "hotelInfo");
   //        String hotelCode = hotelInfo.getString("hotelCode", "");
   //        String hotelName = hotelInfo.getString("hotelName", "");
   //        Log.d("TAGTAGTAG", "hotelCode = " + hotelCode);
   //        Log.d("TAGTAGTAG", "hotelName = " + hotelName);
 }
Esempio n. 2
0
  @Override
  public void onDestroy() {
    Ioc.getIoc().getLogger().d("销毁fragment");
    dismissDialog();
    if (null != countDownTimer) {
      countDownTimer.cancel();
      countDownTimer.onFinish();
      countDownTimer = null;
      Ioc.getIoc().getLogger().d("清除计时器");
    }

    super.onDestroy();
  }
Esempio n. 3
0
 @Override
 public void setUserVisibleHint(boolean isVisibleToUser) {
   super.setUserVisibleHint(isVisibleToUser);
   if (isVisibleToUser) {
     // fragment可见时执行加载数据或者进度条等
     if (group == null) {
       group = new ArrayList<>();
     }
     ajaxOrder();
   } else {
     // 不可见时不执行操作
   }
 }
Esempio n. 4
0
 @Override
 public void onResume() {
   super.onResume();
   //        initNoPayExpandableListView();
 }
 @Override
 public void onDestroy() {
   super.onDestroy();
   gallery_hotel.destroy();
   MapVo.remove("conditions");
 }
Esempio n. 6
0
 @Override
 public void onResume() {
   super.onResume();
 }