levibostian / Teller-Android

Android library that manages your app's cached data with ease.
https://levibostian.github.io/Teller-Android/
MIT License
16 stars 3 forks source link

Remove RxJava2 and make it an optional, separate module. #1

Open levibostian opened 6 years ago

levibostian commented 6 years ago

RxJava2 is a library some people may not want to use. I also enjoy creating libraries that do not have dependencies on them if I can help it.

Therefore, let's remove RxJava2 from the core of the library and make it a separate module that devs can use if they wish.

levibostian commented 6 years ago

I would like to create a LiveData version of the library as well.

For the LiveData version, for observe() in the OnlineRepository, make sure that it is generic enough that you can do whatever you want here. Returning LiveData<generic> should do that as LiveData is abstract already.

levibostian commented 5 years ago

Waiting on this issue as it will more then likely make this much easier to do.