How can I identify that RecyclerView's last item is visible on screen?
I have one RecyclerView and I added list of data into the RecyclerView . I wanted to add more data in list, when last RecyclerView item is visible on screen. After that I want to make a web service call and update the RecyclerView data. How can I achieve this? Any suggestions? There are several ways to accomplish this, but one way would be to use your adapter's onBindViewHolder method: @Override public void onBindViewHolder(RecyclerView.ViewHolder holder, int position) { if (position == mData.length - 1) { // load more data here. } /// binding logic } When the bind method is called with the