Open levibostian opened 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.
Waiting on this issue as it will more then likely make this much easier to do.
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.