kaushikgopal / RxJava-Android-Samples

Learning RxJava for Android by example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I'm very interested in paging.

Rainer-Lang opened this issue · comments

i've been toying with this. i'm trying to come up with an example/idea that demonstrates the pagination action purely through Rx. linked project is pretty nifty, but relies (from a quick perusal) on the recycling nature of the recycler-view). let me try to cook something up too.

commented

I really liked (and am using a variation of) Matthias Käppler's Rx pager gist: https://gist.github.com/mttkay/24881a0ce986f6ec4b4d

But you need a very solid grasp of the used operators to understand how it works (aka confusing for beginners)

that's super sweet. never come across that before. will definitely take a peek for inspiration :)

@kaushikgopal I am a beginner to Rxjava. I checked your example for pagination and couldn't understand it clearly. Would like to know how you handle errors when server returns some. I got io.reactivex.exceptions.OnErrorNotImplementedException: while implementing your example. please help me.