infinity icon indicating copy to clipboard operation
infinity copied to clipboard

Few Items makes footer stay on "Loading"

Open edwardhuerta opened this issue 7 years ago • 2 comments

Hi!

I am using your code in my app where I am retrieving photos from flickr. I have a simple setup atm. What is happening is that I am retrieving about say, 4 photos that fill up half the screen of the phone. The problem is that the code does not request a second page to be fetched (it does not call the filler) and the button stays on Loading.

My question is, does it support this? Or does it only activate when the content goes below the boundary of the screen and then we scroll, which results in a normal call to the filler.

What I am expecting to occur is:

  1. I fetch data with offset 0
  2. data returns and fills up the Reyclerview only half way of the screen
  3. your code calls the Filler again, hence, triggering a second fetch with offset x
  4. data returns. the second half of the screen is filled.
  5. stop

Thanks in advance!

edwardhuerta avatar Jan 07 '17 09:01 edwardhuerta