Skip to content

Android MVVM sample project in Kotlin using hybrid views (XML + Compose), Coroutines, Flow, AndroidX Navigation, Room, Retrofit, Moshi, Coil, Koin

License

Notifications You must be signed in to change notification settings

stefanoberdoerfer/BierUmVier-AndroidSample

Repository files navigation

BierUmVier

Android MVVM sample project in Kotlin using hybrid UI (Android XML + Jetpack Compose), Coroutines, Flow, AndroidX Navigation, Room, Retrofit, Moshi, Coil written in about 10h

Selected design decisions

  • minSDK 21: 99% of active devices according to Google (02/2023)
  • MVVM:
    • Good separation of business logic and android/view specific code
    • Handling of configuration changes
    • Pushed by google to be the "modern android" way
  • Hybrid UI (XML + Compose): Personal learning challenge
  • Jetpack Navigation: No hassle of dealing with the fragment backstack manually
  • Kotlin Coroutines + Flow:
    • Automatic UI / Database updates
    • good readability
    • platform independent
  • Retrofit + Moshi: Field-tested stack for consuming HTTP-Rest APIs
  • Koin Dependency Injection: Personal learning challenge

Possible improvements

  • Material Design 3 dynamic colors and darkmode
  • Implement more features

Licenses

About

Android MVVM sample project in Kotlin using hybrid views (XML + Compose), Coroutines, Flow, AndroidX Navigation, Room, Retrofit, Moshi, Coil, Koin

Topics

Resources

License

Stars

Watchers

Forks

Languages