Skip to content

bhavinmdesai/MVVMArchitecture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MVVM Architecture

Kotlin Version AGP Gradle

This is a sample project that presents a modern, 2020 approach to Android application development with MVVM design pattern and eventually up to date tech-stack.

The goal of the project is to demonstrate modern Android application Architecture that is modular, scalable, maintainable, and testable. This application may look quite simple, but it has all of these small details that will set the rock-solid foundation for the larger app suitable for bigger teams and long application lifecycle.

This project is being maintained to match current industry standards.

Project characteristics

This project brings to table set of best practices, tools, and solutions:

Tech-stack

Min API level is set to 21, so the presented approach is suitable for over 94% of devices running Android. This project takes advantage of many popular libraries and tools of the Android ecosystem. Most of the libraries are in the stable version unless there is a good reason to use non-stable dependency.

  • Tech-stack
    • Kotlin + Coroutines - perform background operations
    • Koin - dependency injection
    • Retrofit - networking
    • Jetpack
      • LiveData - notify views about database change
      • Lifecycle - perform an action when lifecycle state changes
      • ViewModel - store and manage UI-related data in a lifecycle conscious way
    • Coil - image loading library with Kotlin idiomatic API

Getting started

There are a few ways to open this project.

Android Studio

  1. Android Studio -> File -> New -> From Version control -> Git
  2. Enter https://github.com/bhavinmdesai/MVVMArchitecture into URL field

Command-line + Android Studio

  1. Run https://github.com/bhavinmdesai/MVVMArchitecture
  2. Android Studio -> File -> Open

Inspiration

This is project is a sample, to inspire you and should handle basic cases, but please take a look at additional resources.

Cheat sheet

Android projects

Other high-quality projects will help you to find solutions that work for your project:

Author

Follow me

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages