Home

Awesome

kotlin-mvvm

Languages: English, Spanish

Kotlin Gradle Mockito

MVVM(Model View ViewModel) sample in Kotlin using the components ViewModel, LiveData, the libraries Retrofit, Glide and Mockito for testing.

MVVM Pattern (Model View ViewModel)

<img src="assets/AndroidMVVM.png">

Demo

<img src="assets/kotlinmvvmscreenrotation720.gif?raw=true" height="480"> <img src="assets/kotlinmvvm720.gif?raw=true" height="480">

Architecture

<img src="assets/architecture.png" height="540">

Flow

<img src="assets/MVVMFlow.png" height="540">

Screenshots

<img src="assets/screenshot.png" height="480"> <img src="assets/screenshot_error.png" height="480"> <img src="assets/screenshot_empty.png" height="480">

<img src="assets/unit_tests.png" height="196">

Slides

Android MVVM https://docs.google.com/presentation/d/1nTwtU8OWYs_8Q3i_3hOPAWodDpDKzO--uA-4b6LUr8g/edit?usp=sharing

Android MVVM Clean https://docs.google.com/presentation/d/1luTzvqGaMjVycEx109-AjYIj3FIpXYAt3Mnu-gjqxtc/edit?usp=sharing

Updates [July 2022]

Dependencies

References

Contributing and reporting issues

If you want to contribute in this repository, please send me a pull request or if you want to report some issues please send at https://github.com/emedinaa/kotlin-mvvm/issues

I appreciate any question or comment. Also, if you consider it useful, you can give me a star ⭐ ⭐ ⭐.