Skip to content Skip to sidebar Skip to footer

On Scrolled To Add Items In Recyclerview Always Comes To Top Automatically When I Scroll Down

I am implementing endless recycler view . Data is getting fine from server aslo scroll down getting down and show it. But on scroll it automatically comes to top again and again. I

Solution 1:

Try this way.Hope it will work.

 if(adapter ==null){
    adapter = new RecyclerAdapter_apps(jsonData, getContext());
    recyclerView.setAdapter(adapter);
 }else{
    homeAdapter.notifyDataSetChanged();
 }

Post a Comment for "On Scrolled To Add Items In Recyclerview Always Comes To Top Automatically When I Scroll Down"