kaushikgopal / RxJava-Android-Samples

Learning RxJava for Android by example
Apache License 2.0
7.55k stars 1.37k forks source link

I'm very interested in paging. #32

Closed Rainer-Lang closed 8 years ago

polok commented 8 years ago

Have a look into this example : https://github.com/matzuk/PaginationSample

kaushikgopal commented 8 years ago

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.

dan-dr commented 8 years ago

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)

kaushikgopal commented 8 years ago

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

kaushikgopal commented 8 years ago

added a simple pagination example https://github.com/kaushikgopal/RxJava-Android-Samples#pagination

nabeelpkl commented 7 years ago

@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.