Example android Model View View Model and DataBinding used to explain how to use this pattern in our android applications.
This example was created to support an article explanation [Escribiendo android apps con Data Binding][8] (spanish) and also it was created for a talk MVVM-android Meetup Androidinights by GDG Androidtitlan Mexico City March 2016.
Slides [My android Talk][1].
Libraries used on the sample project
- [AppCompat, CardView, RecyclerView an DesignLibrary][2]
- [Data binding][7]
- [Retrofit 2][3]
- [RxJava & RxAndroid][4]
- [robolectric][5]
- [junit, mockito][6]
Demo
[8]: https://erikcaffrey.github.io/ANDROID-databinding-android/
[7]: http://developer.android.com/intl/es/tools/data-binding/guide.html
[6]: http://mockito.org/
[5]: http://robolectric.org/
[4]: https://github.com/ReactiveX/RxAndroid
[3]: http://square.github.io/retrofit/
[2]: http://developer.android.com/intl/es/tools/support-library/index.html
[1]: https://speakerdeck.com/erikcaffrey/mvvm-android
Do you want to contribute?
Feel free to report or add any useful feature, I will be glad to improve it with your help, before submitting your code please check the codestyle.
Developed By
- Erik González - erikcaffrey10@gmail.com
License
Copyright 2016 Erik Jhordan Rey
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.