Skip to content

amitshekhariitbhu/MVVM-Architecture-Android

Repository files navigation

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.





Outcome School Blog - 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 our blogs here.

License

   Copyright (C) 2024 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!