Questions tagged [endlessscroll]

Endlessscroll has been called autopagerize, unpaginate, endless pages.

Endlessscroll has been called autopagerize, unpaginate, endless pages. But essentially it is pre-fetching content from a subsequent page and adding it directly to the user’s current page.

84 questions
1
vote
1 answer

How to insert infinite scroll to Laravel Project

Am very new to Jquery and Ajax being used in laravel and been trying to implement infinite scroll to my project and i have no idea where to start The Controller: $books= DB::table('books')->where('status', 'post')->orderBy('created_at',…
1
vote
1 answer

Recyclerview addOnScrollListener issue

Here's my function that detect end off RecyclerView that will be use in pagination later. private fun setOnScrollListener(categoryRecyclerView: RecyclerView, categoryPresenter: EntertainmentPresenter){ …
1
vote
0 answers

LiveData RecyclerView and custom pagination

Im trying to show and endless scroll screen within my app. Im not using new Paging library, so every time I detect bottom scroll reached I request a new list to data do show. I do use LiveData to post that data to the UI and here its when my doubt…
1
vote
2 answers

In Android Endless Scrolling is not working in fragment

I am trying to implement this source code for making endless scroll recycle view. But not working in this case. I am trying both recyclerView.addOnScrollListener() and recyclerView.setOnScrollListener() but not working @Override public View…
Jagjeet Singh
  • 204
  • 1
  • 2
  • 12
1
vote
1 answer

How to do endless scrolling in recyclerview, in both left and right directions?

I have an endless recycler view which I populate with data as scrolling is done. When I scroll right, it works perfectly. Problem is I can't figure out how to scroll left endlessly. If I am able to scroll, only then will I be able to populate the…
1
vote
4 answers

Endless scrolling recyclerview onScrolled not triggered if content is smaller than screen height

I'm trying to implement endless scrolling with recyclerview and it works fine. However, I noticed when the content size is smaller than the screen height, onScrolled is never called. I want to load more when scrolling down but I can't detect a…
Moo33
  • 1,251
  • 3
  • 15
  • 27
1
vote
1 answer

when load new page endless recycler go to first position

i have recycler and use the endless recycler(Link) for load data from server with volley i have a problem! when load next page for example load page 2 and when recycler update , recycler refresh and goes to first position and i do not want goes to…
Hadi Khezrpor
  • 401
  • 5
  • 21
1
vote
0 answers

Implement endless RecyclerView with control for max elements in memory (ArrayList)

Task: 1) Read data from SQLITE (1000 elements) by 20 elements 2) set Max size for ArrayList (50 for example) 3) Scroll down - load more items and remove invisible items from ArrayList 4) Scroll up - load prev items and remove invisible…
user2880972
  • 11
  • 1
  • 4
1
vote
2 answers

How can I use LoadMore in RecyclerView?

I load some json data from server and I show them in my app.I use RecyclerView. I want load 10 items for first time and load 10 other items with scroll. How can I do it? I am using this tutorial and this point I cant match tutorial to my code…
1
vote
1 answer

Android recyclerview endless scroll listner onScrolled() getting called twice

This is how I am setting up recyclerview. mRecyclerViewRides = (RecyclerView) findViewById(R.id.recyclerViewRides); // use this setting to improve performance if you know that changes // in content do not change the layout size of the…
Pritam Kadam
  • 3,203
  • 4
  • 19
  • 41
1
vote
1 answer

RecyclerView : Pull to refresh and EndlessScroll implementation AKA Lazy loading

I am trying to implement pull to refresh and endless scroll on recyclerview. While the endless scroll works very well, if I navigate to the top of recylerview and trigger pull to refresh, list is refreshed though, it results in endless scroll…
1
vote
1 answer

WP8.1 Universal: Properly cancel and restart LoadMoreItemsAsync from ISupportIncrementalLoading

In order to have endless scrolling in my WP8.1 universal app I've implemented ISupportIncrementalLoading and I'm using the result to bind to my ListView. Works fine with this code: public sealed class IncrementalLoadingCollection :…
1
vote
1 answer

Implementing Endless scrolling in Recycler View

I have a Recycler View which uses AsyncTask to populate UI. Currently it retrieves all the data from the DB and displays it in one shot, but I want to retrieve only 15 records in one go and after the scroll ends I want to load more 15 records and…
Ankit67
  • 51
  • 1
  • 5
1
vote
0 answers

onloadmore method loads only 5 items on resume

The app should load 5 items each time the user scrolls all the way down, it works fine but when the user change to another activity and return to the brows activity (the main activity) it loads only 5 items here is my my code for scrolling …
Aryam Saleh
  • 338
  • 2
  • 12
1
vote
1 answer

ListView with Refresh and LoadMore option not working

The problem is based upon a specific use case, which is as follows: 1) Go the end of list and load more data until the API returns an empty list 2) After that call refresh() and the layout will refresh but the issue is that after I call refresh()…
Ahmad Ali Nasir
  • 1,382
  • 3
  • 16
  • 29