amitshekhariitbhu / MVVM-Architecture-Android

MVVM architecture using Kotlin, Dagger, Retrofit, Coroutines, Flow, StateFlow, and etc.

Home Page:https://amitshekhar.me/blog/mvvm-architecture-android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MVVM Architecture Android Beginners: Sample App

This repository contains a sample app that implements MVVM architecture using Kotlin, Dagger, Retrofit, Coroutines, Flow, StateFlow, and etc.





My Personal Blog - amitshekhar.me - High-quality content to learn Android concepts.

Major Highlights

  • MVVM Architecture
  • Kotlin
  • Dagger
  • Retrofit
  • Coroutines
  • Flow
  • StateFlow

The app has following packages:

  • data: It contains all the data accessing and manipulating components.
  • di: It contains all the dependency injection related classes and interfaces.
  • ui: View classes along with their corresponding ViewModel.
  • utils: Utility classes.

Resources to learn MVVM Architecture and other components used in this project:

  • MVVM Architecture: MVVM Architecture - Android Tutorial
    • We will cover the following in this tutorial:
      • What is MVVM architecture?
      • Set up a new project with Kotlin and other dependencies required.
      • Project Structure.
      • Set up the utils package.
      • Set up the data layer.
      • Set up the di layer.
      • Set up UI layer, build and run the project.
      • Project Source Code and What Next?
  • Mastering Kotlin Coroutines: Mastering Kotlin Coroutines
  • Flow API in Kotlin: Flow API in Kotlin
  • Learn Kotlin Topics: Kotlin Blog

You can connect with me on:

Read all of my blogs here.

License

   Copyright (C) 2022 Amit Shekhar

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

Contributing to Android MVVM Architecture

Just make pull request. You are in!

About

MVVM architecture using Kotlin, Dagger, Retrofit, Coroutines, Flow, StateFlow, and etc.

https://amitshekhar.me/blog/mvvm-architecture-android


Languages

Language:Kotlin 100.0%