title: How to use LazyLoader and PullToRefresh in recyclerView?
body: <p><strong>WHY NOT ANY PEOPLE HELP ME??? i really need your helps</strong></p>
  
  <p>In my application i want use <strong>PullToRefresh</strong> and <strong>LazyLoader</strong> features and for this i write below codes and work me.<br></p>
  
  <p>But i have one issue, when <strong>PullToRefresh</strong> <code>recyclerView</code> and when scroll <code>recyclerView</code> not show more items.<br></p>
  
  <p>My mean is : when use <strong>pullToRefresh</strong>, then not work <strong>lazyLoader</strong>!<br></p>
  
  <p><strong>My codes :</strong> </p>
  
  <pre><code>    @Override
      public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, Bundle savedInstanceState) {
          super.onCreateView(inflater, container, savedInstanceState);
          Constants.listeners.add(this);
          View v = inflater.inflate(R.layout.fragment_auction_current_tab, null);
          ButterKnife.bind(this, v);
          context = getActivity();
          handler = new Handler();
          list = v.findViewById(R.id.list);
          prefsUtils = new PrefsUtils(getActivity());
          apis = ApiClient.getClient().create(APIs.class);
          swipeToRefresh = v.findViewById(R.id.swipeToRefresh);
  
          jwtToken = Constants.settings.getString("jwt_token", "");
  
          list_item = getActivity().findViewById(R.id.list_item);
          linearLayoutManager = new LinearLayoutManager(context);
          auctionListAdapter = new AuctionsListAdapter(context, todayModel, R.layout.list_item_auction_normal_new);
          list.setLayoutManager(linearLayoutManager);
          list.setHasFixedSize(true);
          list.setAdapter(auctionListAdapter);
          list.setOnScrollListener(new EndlessRecyclerLinearPage(linearLayoutManager) {
              @Override
              public void onLoadMore(final int current_page) {
                  miniLoader.setVisibility(View.VISIBLE);
                  Call&lt;AuctionsListResponse&gt; call = apis.getTodatAuctions(jwtToken, current_page, 10);
                  call.enqueue(new Callback&lt;AuctionsListResponse&gt;() {
                      @Override
                      public void onResponse(Call&lt;AuctionsListResponse&gt; call, Response&lt;AuctionsListResponse&gt; response) {
                          if (response.isSuccessful()) {
                              if (response.body() != null) {
                                  if (response.body().getRes() != null) {
                                      if (response.body().getRes().getToday().size() &gt; 0 &amp;&amp; response.body().getRes().getToday() != null) {
                                          miniLoader.setVisibility(View.GONE);
                                          auctionListAdapter.addNewItem(response.body().getRes().getToday());
                                      } else {
                                          miniLoader.setVisibility(View.GONE);
                                      }
                                  }
                              }
                          }
                      }
  
                      @Override
                      public void onFailure(Call&lt;AuctionsListResponse&gt; call, Throwable t) {
  
                      }
                  });
              }
          });
          getData();
          swipeToRefresh.setColorSchemeResources(R.color.colorAccent);
          swipeToRefresh.setOnRefreshListener(new SwipeRefreshLayout.OnRefreshListener() {
              @Override
              public void onRefresh() {
                  getData();
              }
          });
  
          return v;
      }
  
      private void getData() {
          Call&lt;AuctionsListResponse&gt; call = apis.getTodatAuctions(jwtToken, 1, 10);
          call.enqueue(new Callback&lt;AuctionsListResponse&gt;() {
              @Override
              public void onResponse(Call&lt;AuctionsListResponse&gt; call, Response&lt;AuctionsListResponse&gt; response) {
                  if (response.isSuccessful()) {
                      if (response.body() != null) {
                          if (response.body().getRes() != null) {
                              if (response.body().getRes().getToday().size() &gt; 0 &amp;&amp; response.body().getRes().getToday() != null) {
                                  todayModel.clear();
                                  todayModel.addAll(response.body().getRes().getToday());
                                  auctionListAdapter.notifyDataSetChanged();
                                  itemsLoader.setVisibility(View.GONE);
                                  if (swipeToRefresh != null) {
                                      swipeToRefresh.setRefreshing(false);
                                  }
                              }
                          }
                      }
                  }
              }
  
              @Override
              public void onFailure(Call&lt;AuctionsListResponse&gt; call, Throwable t) {
  
              }
          });
      }
  }
  </code></pre>
  
  <p>How can i fix this issue?</p>