- Base on googlesamples/android-architecture create 3 architect MVP, MVVM, MVVMP and templates for each kind.
- This Project Demo call API search user github and show result using retrofit and save data to local using Realm & SQLite
- Using Reactive library: RxJava,RxAndroid
https://github.com/daolq3012/Structure_Android/tree/mvp-architecture
https://github.com/daolq3012/Structure_Android/tree/mvp-dagger-architecture
https://github.com/daolq3012/Structure_Android/tree/mvvm-architecture
-
Split ViewModel to 2 components ViewModel & Presenter
- ViewModel binding data with view(layout), Logic processing not using in here
- Presenter reponsible for logic and reflected up ViewModel
https://github.com/daolq3012/Structure_Android/tree/mvvmp-architecture
- Only this architech use Retrolambda
https://github.com/daolq3012/Structure_Android/tree/mvvmp-dagger-architecture
- Download and import to Android studio codestyle.jar