Skip to content

MVVM(Model View ViewModel) sample in Kotlin using the components ViewModel, LiveData and Retrofit library

Notifications You must be signed in to change notification settings

emedinaa/kotlin-mvvm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kotlin-mvvm + rxkotlin (coming soon)

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)

Demo

Architecture

Flow

Screenshots

Slides

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

Updates [Enero 2020]

  • Added Coroutines with retrofit and sealed classes to replace callbacks. Included testing with Coroutines. branch coroutines

  • Added Koin, dependency injection framework written in Kotlin. Included integration with Mockito for testing (11th Oct) branch koin

  • Added Unit Testing with Mockito (27th May) Link

  • Fix load images android P by Carlos Ugaz carlosgub Link

  • Updates and improvements about this repository. Link

Dependencies

References

I appreciate any question or comment. Also, if you consider it useful , you can give me a star. Besides, you can put any issue at https://github.com/emedinaa/kotlin-mvvm/issues

About

MVVM(Model View ViewModel) sample in Kotlin using the components ViewModel, LiveData and Retrofit library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages