@Override
 public void setUserVisibleHint(boolean isVisibleToUser) {
   if (first) {
     first = false;
   }
   super.setUserVisibleHint(isVisibleToUser);
 }
  @Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    childTypeId = getArguments().getInt("childTypeId");

    scrrenWidth = CommonCache.get().getScreenWidth(getActivity());
  }
  @Override
  protected void requestEnd(boolean success, ErrorMessage e, boolean openLoading) {
    super.requestEnd(success, e, openLoading);
    Log.d("ArticleListFragment", "requestEnd:" + e + success);
    if (!openLoading) {
      if (page == 1) {
        Log.d("ArticleListFragment", "-----------------------------------------");
        mPullToRefreshLayout.refreshFinish(success ? State.SUCCEED : State.FAIL);
      } else {
        mPullToRefreshLayout.loadmoreFinish(success ? State.SUCCEED : State.FAIL);
      }
    }

    if (success) {
      page++;
    }
  }