Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/amitshekhariitbhu/MVVM-Architecture-Android

MVVM architecture using Kotlin, Dagger, Retrofit, Coroutines, Flow, StateFlow, and etc.
https://github.com/amitshekhariitbhu/MVVM-Architecture-Android

android android-architecture coroutines dagger2 flow kotlin mvvm mvvm-android mvvm-architecture retrofit stateflow

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](https://outcomeschool.com/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](https://outcomeschool.com/blog/mvvm-architecture-android)
- 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](https://outcomeschool.com/blog/kotlin-coroutines)
- Flow API in Kotlin: [Flow API in Kotlin](https://outcomeschool.com/blog/flow-api-in-kotlin)
- Learn Kotlin Topics: [Kotlin Blog](https://outcomeschool.com/tags/kotlin)

You can connect with me on:

- [Twitter](https://twitter.com/amitiitbhu)
- [LinkedIn](https://www.linkedin.com/in/amit-shekhar-iitbhu)
- [GitHub](https://github.com/amitshekhariitbhu)
- [Facebook](https://www.facebook.com/amit.shekhar.iitbhu)

[**Read all of our blogs here.**](https://outcomeschool.com/blog)

### 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!