Automatically fetch first result on load more, scrolls the RecyclerView
See original GitHub issueHi,
There’s a method to fetch first result on load more automatically, I tested it and I found it scrolls the RecyclerView
but it shouldn’t.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Android RecyclerView Load More, Endless Scrolling
In this tutorial, we'll be discussing and implementing Endless Scrolling or Infinite Scroll on RecyclerView in our Android Application.
Read more >Refreshing data in RecyclerView and keeping its scroll position
The top answer by @DawnYu works, but the recyclerview will first scroll to the top, then go back to the intended scroll position...
Read more >Android RecyclerView Load More on Scroll with Example
Navigate to the app > res > layout > activity_main. xml and add the below code to that file. Below is the code...
Read more >Endless Scrolling with AdapterViews and RecyclerView
A common application feature is to load automatically more items as the user scrolls through the items (aka infinite scroll). This is done...
Read more >Recycleview scroll back to first item when calling recyclerView ...
final RecycleviewAdapter mRecycleviewAdapter = new RecycleviewAdapter(chData, chName, this); recyclerView.setAdapter(mRecycleviewAdapter); recyclerView.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I moved the adding after the removal of the progressItem, this preserves also the feature to delay the removal to display a message in the progressItem.
I release this fix in the new SNAPSHOT in few moments…
Hi @davideas ,
You can reproduce this in the sample app in the FragmentInstagramHeaders class.
Just replace initializeRecyclerView code with
You init the recycler with 0 items, and setLoadingMoreAtStartUp to true. After the items are loaded the recycler is scrolled a bit down and is not at the first item.