kaushikgopal / RxJava-Android-Samples

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

takeUntil optimized cache and network method and Gson parse model #89

Closed alouanemed closed 7 years ago

alouanemed commented 7 years ago

Hey Thank you for this awesome examples :)

I am trying to implement the optimized cache method using takeUntil in my app. I am using a Gson model to parse the JSON response from the API . I've been testing several methods but didn't succeed to get it right.am beginner in RxJava .

My code https://gist.github.com/alouanemed/6b5f4d5d3623ae69331de25c12dd5b98

Thanks :) .

kaushikgopal commented 7 years ago

My pleasure!

i've added some comments that could potentially point you to a solution. but you're probably better off with asking on stack overflow :)

Cheers

alouanemed commented 7 years ago

http://stackoverflow.com/questions/40946481/takeuntil-optimized-cache-and-network-method-with-retrofit-rxjava-and-gson

:)