Architecture-samples: [todo-mvvm] Architecture Components sample

Created on 21 May 2017  路  8Comments  路  Source: android/architecture-samples

I want to integrate the latest architectural components (ViewModel, LiveData, LifeCycleOwner) into the todo-mvvm. Should there be a new branch with the name [todo-mvvm-{newandroidarch/somethingelse}] or should I start editing in this branch only?

Most helpful comment

+1

(also, for reference, he is talking about https://developer.android.com/topic/libraries/architecture/guide.html)

All 8 comments

+1

(also, for reference, he is talking about https://developer.android.com/topic/libraries/architecture/guide.html)

Exactly. Thanks!

@ber4444 I have started working on it here: https://github.com/gaurav414u/android-architecture/tree/todo-mvvm-databinding_newarch. Please feel free to observe and let me know if something needs to be altered.
Thanks

We're working on an official branch for this but feel free to publish yours, we're still defining good and bad patterns and more ideas are welcomed.

@JoseAlcerreca , I have started working, but found out that the DataBinding is not lifecycle aware yet. It will be there once the lifecycle hits 1.0 stable api - as per Yigit.
Should I submit a pull request for this unfinished work?
I am new over here :)

@JoseAlcerreca Can we reopen this issue to discuss on linkToPullRequestInMyFork?
Thanks

Cool, let's discuss on your fork.

We now have dev- branches for both lifecycle-aware components and Room.

https://github.com/googlesamples/android-architecture

Was this page helpful?
0 / 5 - 0 ratings