New Sample:Using DataBinding library and RxJava (Completed)
In #214, I want to build the new sample that is combined data binding and rxjava. Now I completed this sample.
https://github.com/elirex/android-architecture/tree/todo-databinding-rxjava
That's AWESOME. We'll add it to external samples after a small review.
/cc @florina-muntenescu @ErikHellman @malmstein Thanks!
@elirex - So happy to see a new sample!
I checked it out a bit and, from what I could tell, the RxJava part, is taken from the todo-mvp-rxjava branch. Your version decreases the logic in the Fragments by using ViewModel classes - these doing the data binding part (like in the todo-databinding ).
Given that the similarities with the todo-mvp-rxjava are higher than with the todo-databinding, would be great if you could rebase your branch on top of it. Like this, it gets easier to compare the differences between the RxJava version and your version.
I really like that you minimise the logic in the Fragments and you move all of that logic to the ViewModel classes. But none of those ViewModels are tested. Could you unit test them?
Given that we are building a sample app, we put a high emphasis on explaining the role of every class. Could you add java docs to all the ViewModel classes? Also, please update the README.md and provide a detailed explanation of the connection between classes and the benefits of your approach. Feel free to check out the README.md files from todo-mvp-rxjava and todo-databinding for a better understanding of what and how it should be explained.
Closing due to inactivity, feel free to reopen.