@Override
 public void onActivityCreated(Bundle savedInstanceState) {
   super.onActivityCreated(savedInstanceState);
   Log.i("abc", "tab--onActivityCreated-->" + mType);
   if (isReset) {
     isShowAnim(true);
     showBaseLoading();
     getDealData();
     isReset = false;
   }
 }
 @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();
 }
 @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;
   }
 }
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   networkImages = Arrays.asList(GlobalParams.HEADER_IMAGES);
   Log.i("abc", "tab--onCreate-->" + mType);
 }
 @Override
 public void onAttach(Context context) {
   super.onAttach(context);
   Log.i("abc", "tab--onAttach-->" + mType);
 }
 @Override
 protected void onClickBaseLoading() {
   super.onClickBaseLoading();
   showBaseLoading();
   getDealData();
 }
 @Override
 protected void initDataOnFailure(String url) {
   super.initDataOnFailure(url);
 }
 @Override
 public void onDetach() {
   super.onDetach();
   Log.i("abc", "tab--onDetach-->" + mType);
 }
 @Override
 public void onDestroy() {
   super.onDestroy();
   Log.i("abc", "tab--onDestroy>" + mType);
 }
 @Override
 public void onStop() {
   super.onStop();
   Log.i("abc", "tab--onStop-->" + mType);
 }
 @Override
 public void onPause() {
   super.onPause();
   Log.i("abc", "tab--onPause-->" + mType);
 }