Ejemplo n.º 1
0
 @Override
 public void onActivityCreated(Bundle savedInstanceState) {
   super.onActivityCreated(savedInstanceState);
   Log.i("abc", "tab--onActivityCreated-->" + mType);
   if (isReset) {
     isShowAnim(true);
     showBaseLoading();
     getDealData();
     isReset = false;
   }
 }
Ejemplo n.º 2
0
 @Override
 public void onDestroyView() {
   super.onDestroyView();
   Log.i("abc", "tab--onDestroyView>" + mType);
   mAllDeals.clear();
   if (convenientBanner != null) {
     boolean result = home_Xlistview.removeHeaderView(convenientBanner);
   }
   home_Xlistview.setVisibility(View.GONE);
   // 停止翻页
   convenientBanner.stopTurning();
 }
Ejemplo n.º 3
0
 @Override
 public void handleMessage(Message msg) {
   super.handleMessage(msg);
   switch (msg.what) {
     case MSG_STOP_REFRESH:
       stopRefresh();
       break;
     case MSG_GET_DATA_OVER:
       ToastUtil.showToast(mContext, "亲,没有更多数据了哦.");
       stopRefresh();
       home_Xlistview.setPullLoadEnable(false);
       break;
     default:
       break;
   }
 }
Ejemplo n.º 4
0
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   networkImages = Arrays.asList(GlobalParams.HEADER_IMAGES);
   Log.i("abc", "tab--onCreate-->" + mType);
 }
Ejemplo n.º 5
0
 @Override
 public void onAttach(Context context) {
   super.onAttach(context);
   Log.i("abc", "tab--onAttach-->" + mType);
 }
Ejemplo n.º 6
0
 @Override
 protected void onClickBaseLoading() {
   super.onClickBaseLoading();
   showBaseLoading();
   getDealData();
 }
Ejemplo n.º 7
0
 @Override
 protected void initDataOnFailure(String url) {
   super.initDataOnFailure(url);
 }
Ejemplo n.º 8
0
 @Override
 public void onDetach() {
   super.onDetach();
   Log.i("abc", "tab--onDetach-->" + mType);
 }
Ejemplo n.º 9
0
 @Override
 public void onDestroy() {
   super.onDestroy();
   Log.i("abc", "tab--onDestroy>" + mType);
 }
Ejemplo n.º 10
0
 @Override
 public void onStop() {
   super.onStop();
   Log.i("abc", "tab--onStop-->" + mType);
 }
Ejemplo n.º 11
0
 @Override
 public void onPause() {
   super.onPause();
   Log.i("abc", "tab--onPause-->" + mType);
 }