All Projects → yusufceylan → MVI-Clean-Architecture

yusufceylan / MVI-Clean-Architecture

Licence: MIT license
MVI + Clean Architecture + Best Practices | Example of Clean Architecture of Android app using MVI design pattern with Jetpack and popular libraries

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to MVI-Clean-Architecture

StarWarsSearch-MVI
Star wars sample android project showcasing the use of View components for rendering UI in Fragments and Activities. Uses Android Jetpack, clean architecture with MVI (Uni-directional data flow), dagger hilt, and kotlin coroutines with StateFlow
Stars: ✭ 189 (+278%)
Mutual labels:  coroutines, clean-architecture, mvi-clean-architecture, mvi-android, dagger-hilt
Simple-Notes-Kotlin-App
✍️ Simple Note Making App use mvvm architecture , dagger , coroutines and navigation component. Features includes 🗒️ create , edit and ❌ delete notes
Stars: ✭ 40 (-20%)
Mutual labels:  room, coroutines, mvvm-architecture, coroutines-android, navigation-component
Android Kotlin Mvi Cleanarchitecture
Android + Kotlin + Modularization + Gradle Depedency managment + Gradle written in Kotlin DSL + Custom Gradle Plugin + MVVM + MVI + Clean Architecture + Repository Pattern + Coroutines + Flows + Koin + Retrofit2 + ROOM + Kotlin-Android-Extension + KtLints
Stars: ✭ 187 (+274%)
Mutual labels:  room, coroutines, clean-architecture, mvvm-architecture, modularization
android-clean-architecture
🚀🚀🚀 The boilerplate for Android using Kotlin & Clean architecture.
Stars: ✭ 21 (-58%)
Mutual labels:  coroutines, clean-architecture, coroutines-android, mvvm-android
Pagination-MVI-Flow
Pagination MVI Coroutines Flow. Play MVI with Kotlin Coroutines Flow | MVI pattern on Android using Kotlin Coroutines Flow | Dagger Hilt DI | SharedFlow | StateFlow
Stars: ✭ 45 (-10%)
Mutual labels:  mvi-architecture, mvi-clean-architecture, mvi-android, dagger-hilt
bitcoin-market-android
Bitcoin Market app shows you the current Bitcoin market price and price chart of different time intervals 💰
Stars: ✭ 284 (+468%)
Mutual labels:  coroutines, clean-architecture, mvvm-android, dagger-hilt
Kotlin Modular Tdd Coroutines Mvvm
A sample Kotlin app which was built with modular structure, Kotlin DSL, Kotlin Coroutines, TDD and MVVM patterns.
Stars: ✭ 256 (+412%)
Mutual labels:  coroutines, clean-architecture, mvvm-architecture, modularization
Delish
Delish, a Food Recipes App in Jetpack Compose and Hilt based on modern Android tech-stacks and MVI clean architecture.
Stars: ✭ 356 (+612%)
Mutual labels:  room, coroutines, mvi-architecture, mvi-clean-architecture
Rick-and-Morty
The Rick And Morty - MVVM with a clean architecture approach using some of the best practices in Android Development.
Stars: ✭ 45 (-10%)
Mutual labels:  room, coroutines, navigation-component, dagger-hilt
modern-android
Modern Android Project Skeleton
Stars: ✭ 17 (-66%)
Mutual labels:  room, coroutines, clean-architecture, dagger-hilt
FoodApp
Proof of concept for food app [JetPack + Coroutines + Flow + MockK + JaCoCo coverage + SonarQube]
Stars: ✭ 25 (-50%)
Mutual labels:  coroutines, clean-architecture, mvvm-architecture, coroutines-android
Simple-Note-App-with-Online-Storage
✍️ Simple Note Making App use Sqllite Room 🧰 for caching the notes and 📥 Firebase Database for online storage
Stars: ✭ 42 (-16%)
Mutual labels:  room, coroutines, mvvm-architecture, navigation-component
Foodium
It simply loads Posts data from API and stores it in persistence storage (i.e. SQLite Database). Posts will be always loaded from local database. Remote data (from API) and Local data is always synchronized.
Stars: ✭ 1,940 (+3780%)
Mutual labels:  room, coroutines, coroutines-android, mvvm-android
Quotes
Quotes is an Android application 📱 built to demonstrate use of Modern Android development tools.
Stars: ✭ 19 (-62%)
Mutual labels:  room, mvvm-architecture, mvvm-android, dagger-hilt
Dagger-Hilt-MVVM
Sample app that demonstrates the usage of Dagger Hilt with Kotlin & MVVM
Stars: ✭ 62 (+24%)
Mutual labels:  room, coroutines, mvvm-architecture
android-clean-architecture
Sample for Android Clean Architecture.
Stars: ✭ 120 (+140%)
Mutual labels:  room, clean-architecture, navigation-component
android-kick-start-modular
Android Kick Start Project Template Framework FrogoBox || Admob, MVVM Archictecture || Clean Architecture Modularization
Stars: ✭ 16 (-68%)
Mutual labels:  mvvm-architecture, modularization, mvvm-android
ChatApp
Chat app based on Firebase tools.
Stars: ✭ 88 (+76%)
Mutual labels:  room, coroutines, mvvm-architecture
raffler-kotlin
A raffling app developed as a playground to study many topics related to Android. Kotlin + Coroutines + MVVM
Stars: ✭ 44 (-12%)
Mutual labels:  coroutines, clean-architecture, coroutines-android
Android-MVVM-News-App
MVVM News Application with clean code architecture & android jetpack components.
Stars: ✭ 38 (-24%)
Mutual labels:  clean-architecture, mockito, mvvm-android

MVI-Clean-Architecture

This is a sample app & basic code that demonstrate how to build an Android application using the Uncle Bob's Clean Architecture approach.

The trick of the project is to demonstrate best practices, provide a set of guidelines, and present modern Android Application Architecture that is modular, scalable, maintainable and testable, suitable for bigger teams and long application lifecycle management.

Because it is an architectural project, UI has been kept simple. Sample data has been provided from JsonPlaceholder API You can directly clone the repo and run the app.

Flow

This app uses MVI (Model View Intent) architecture.

Modules

Modules are the collection of source files and build settings that allow you to divide your project into discrete units of functionality.

  • App Module

    :app module is an com.android.application, which is needed to create the app bundle. It contains dependency graph and UI related classes. It presents data to screen and handle user interactions.

  • Base Module

    :base module contains only framework related base classes that is used in other modules

  • Common Module

    :common module contains code and resources which are shared between other modules

  • Data Module

    :data module contains implementation of repository and local - remote repository interface adapt

  • Domain Module

    :domain module contains use cases and repository interface adapt

  • Local Module

    :local module contains local data source related classes

  • Remote Module

    :remote module contains remote data source related classes

  • Presentation Module

    :presentation module contains business logic

Each module has its own test.

Tech Stack

Contributions

All contributions are welcome! Please fork this repository and contribute back using pull requests.

Contact

Don't forget to star the repo it motivates me to share more open source

License

MIT License

Copyright (c) 2021 Yusuf Ceylan

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].