Closed JoseAlcerreca closed 8 years ago
This would be great. I hope with usage of Dagger2.
@ErikHellman Are you already working on this? Or is this an open issue for anyone to jump on? Would love to help.
@Rainer-Lang RxJava with Dagger2 would come after this one and the Dagger2 sample.
@clarle He is! But there will be more RxJava samples :)
Expect and concern about it. By the way, how to build a bridge between two presenters like a user profile changed event?
@ErikHellman You are implementing this sample, right? What is your suggestion for eg long running tasks like network requests and screen rotation (no abortion of the network request)? Will you integrate this in the example?
The samples were done?
What would you like to do? If you want, just make a PR. :-)
When will MVP-RxJava be launched?
Hey folks , Anything on MVP - RxJava + Realm possible ? suggestions welcomed , I am planning to build one.
@ErikHellman @florina-muntenescu can you give an update on this sample? All tests pass now, looking good!
The sample (here)[https://github.com/googlesamples/android-architecture/tree/dev-todo-mvp-rxjava] is an implementation that uses RxJava as a way of communicating between the data model layer and the presenter. The TasksLocalDataSource
uses SqlBrite, to query the database and get the results as streams.
We kept the same way of injecting dependencies as in the main todo-mvp project, to keep it as simple as possible.
The Presenter contracts and the Views are unchanged.
From me and @ErikHellman this sample is done.
Sample promoted to stable! https://github.com/googlesamples/android-architecture/tree/todo-mvp-rxjava
Thanks @ErikHellman, @florina-muntenescu and everyone involved!
Based on MVP but using RxJava for asynchronous jobs, event handling and data observation.