Android Clean Architecture with MVVM using Jetpack component

Last update: Jul 22, 2022

Android Clean Architecture with MVVM using Jetpack component

πŸ’‘ What is Clean Architecture?

Clean architecture is a category of software design pattern for software architecture that follows the concepts of clean code and implements SOLID principles

It’s essentially a collection of best practice design principles that help you keep business logic, or domain logic, together and minimize the dependencies within the system.

Clean architecture is a method of software development in which you should be able to identify what a program performs merely by looking at its source code. Robert C. Martin, also known as Uncle Bob, came up with the Clean Architecture concept in the year 2012.

alt tag

πŸ’‘ Why Clean Architecture?

Separation of Concerns β€” Separation of code in different modules or sections with specific responsibilities making it easier for maintenance and further modification. Loose coupling β€” flexible code anything can be easily be changed without changing the system Easily Testable

πŸ’‘ Layers of clean architecture

  • Presentation or UI: A layer that interacts with the UI, mainly Android Stuff like Activities, Fragments, ViewModel, etc. It is dependent on Use Cases.
  • Domain: Contains the business logic of the application. It is the individual and innermost module.
  • Data: It includes the domain layer. It would implement the interface exposed by domain layer and dispenses data to app

alt tag

πŸ’‘ Advantages of Using Clean Architecture

  • Easily testable.
  • Scalable.
  • Your team can add new features even more quickly.
  • The project is even easier to maintain.

πŸ’‘ Tech stack & Modern Library Tools

πŸ’‘ Project: Medium Clone

This is a sample presentation of Clean Architecture with MVVM in Android.

WebSite Conduit

API Collection Conduit

πŸ’‘ Screnshots

Login Screen Register Screen Articles List Screen Add Article Screen
Article Detail Screen Profile Screen Edit Article Screen

πŸ’‘ Features

Authentication

  • Regsiter
  • Login
  • Get Current User
  • Update User
  • Logout

Articles

  • All Articles
  • Articles by Author
  • Articles Favorited by Username
  • Articles by Tag
  • All Tags

Articles, Favorite, Comments

  • Create Article
  • Feed
  • All Articles
  • All Articles with auth
  • Articles by Author
  • Articles by Author with auth
  • Single Article by slug
  • Articles by Tag
  • Update Article
  • Favorite Article
  • rticles Favorited by Username
  • ticles Favorited by Username with auth
  • favorite Article
  • Create Comment for Article
  • All Comments for Article
  • All Comments for Article
  • Delete Comment for Article
  • Delete Article

Profiles

  • Register Celeb
  • Profile
  • Follow Profile
  • Unfollow Profile

Under devlopement

Thanks for reading!

GitHub

https://github.com/jbsolutions2008/Android-Clean-Architecture-MVVM-Hilt
You might also like...

Jet-CoinList is a simple app based on Jetpack Compose, modern tech-stack and Clean Architecture.

Jet-CoinList is a simple app based on Jetpack Compose, modern tech-stack and Clean Architecture.

Jet-CoinList is a simple app based on Jetpack Compose, modern tech-stack and Clean Architecture. The project is quite simple which shows the list of crypto currencies and their general info details gets from API.

May 29, 2022

PapriCoin demonstrates Jetpack Compose usage to build modern app based on Clean Architecture and newest Tech-Stack

PapriCoin demonstrates Jetpack Compose usage to build modern app based on Clean Architecture and newest Tech-Stack

PapriCoin demonstrates Jetpack Compose usage to build modern app based on Clean Architecture and newest Tech-Stack. Repository also has loca

Apr 17, 2022

Snapchat Clone with Jetpack Compose and Clean Architecture

Snapchat Clone with Jetpack Compose and Clean Architecture

Snapchat Clone with Jetpack Compose and Clean Architecture - Navigation Components, CamaraX, android-maps-compose, Exoplayer, Detekt, Coil, Gradle Secrets, Permission Handling.

Aug 12, 2022

Android Sample Kotlin+ MVI + Jetpack compose + Coroutines + Retrofit + Hilt + Room + Navigation component

Android Sample Kotlin+ MVI + Jetpack compose + Coroutines + Retrofit + Hilt  + Room + Navigation component

MVIComposeSample Android Sample app to show user latest movies implementing MVI + Clean Architecture using kotlin & Jetpack compose following solid an

Jul 28, 2022

πŸ—» Unopinionated, easy-to-use, and customizable Badge component for Jetpack Compose

πŸ—» Unopinionated, easy-to-use, and customizable Badge component for Jetpack Compose

Cobadge πŸ—» Unopinionated, easy-to-use, and customizable Badge component for Jetpack Compose Getting started In this section I will walk you through th

Jun 28, 2022

ComposeImageBlurhash is a Jetpack Compose component with the necessary implementation to display a blurred image while the real image is loaded from the internet. Use blurhash and coil to ensure good performance.

compose-image-blurhash ComposeImageBlurhash is a Jetpack Compose component with the necessary implementation to display a blurred image while the real

Jul 27, 2022

Icontent - Jetpack Compose component to show all random content sended by Inmersoft guide backend

icontent IContent is a library that allows loading audio visual content generica

May 21, 2022

A Coordinator Layout-like component in Jetpack Compose.

A Coordinator Layout-like component in Jetpack Compose.

CollapsingToolbarInCompose Branches master: Initial code. column_version: Resulting code using a Column. 🚧 lazycolumn_version: Resulting code using a

Aug 12, 2022

πŸ“ Note List app based on MVVM architecture (ViewModel, LiveData, Coroutines, Room and Jetpack Compose)

πŸ“   Note List app based on MVVM architecture (ViewModel, LiveData, Coroutines, Room and Jetpack Compose)

Note list app built with Jetpack Compose Download Go to the releases page to download the latest available apk. Screenshots Architecture Features Home

Jun 7, 2022
Android Clean Architecture That Screams (MVVM + JetPack Compose UI + Flow + State)

Android Clean Architecture That Screams (MVVM + JetPack Compose UI + Flow + State)

May 11, 2022
Animal-Kingdom - CLEAN Architecture with MVVM and Jetpack-Compose
Animal-Kingdom - CLEAN Architecture with MVVM and Jetpack-Compose

CLEAN Architecture with MVVM and Jetpack-Compose. About the app I have created t

Aug 4, 2022
Kotlin, MVVM, Navigation Component, Hilt, Jetpack Compose, Retrofit2

What is this project? This course will replace my old java mvvm introduction: https://codingwithmitch.com/courses/rest-api-mvvm-retrofit2/. Watch the

Aug 9, 2022
πŸš€ Sample Android Clean Architecture on Rorty App focused on the scalability, testability and maintainability written in Kotlin, following best practices using Jetpack.
πŸš€ Sample Android Clean Architecture on Rorty App focused on the scalability, testability and maintainability written in Kotlin, following best practices using Jetpack.

Android Clean Architecture Android Clean Architecture in Rorty is a sample project that presents modern, approach to Android application development u

Jul 8, 2022
Jetpack Compose app gets data from REST API using KTOR Client. Clean Architecture, Dependency Injection...
Jetpack Compose app gets data from REST API using KTOR Client. Clean Architecture, Dependency Injection...

posts-ktor-client Jetpack Compose app gets data from REST API using KTOR Client. Clean Architecture, Dependency Injection... Posts KTOR Client Demo ap

Aug 1, 2022
This is a simple video games discovery app showcasing UI using Jetpack Compose with Clean Architecture and also tests for composable UI.

Jetpack-Compose-Video-Games-Example ?? This is a simple video games discovery app showcasing UI using Jetpack Compose and also tests for composable UI

Jul 31, 2022
❀️ A heart-shaped toggle switch component built using Jetpack Compose
❀️ A heart-shaped toggle switch component built using Jetpack Compose

heart-switch A heart-shaped toggle switch component built using Jetpack Compose. Inspired by Tore Bernhoft's I heart toggle Dribbble shot and Anatoliy

Aug 5, 2022
A simple authentication application using Jetpack compose to illustrate signin and sign up using Mvvm, Kotlin and jetpack compose
A simple authentication application using Jetpack compose to illustrate signin and sign up using Mvvm, Kotlin and jetpack compose

Authentication A simple authentication application using Jetpack compose to illustrate signin and sign up using Mvvm, Kotlin and jetpack compose Scree

Aug 7, 2022
Android weather app using Hilt, Coroutines, Retrofit, Jetpack (Compose, Room, ViewModel) based on MVVM architecture
Android weather app using Hilt, Coroutines, Retrofit, Jetpack (Compose, Room, ViewModel) based on MVVM architecture

Atmostate A weather app written with Jetpack Compose using OpenWeatherMap Get the APK Features offline caching fetching data for current user location

Jul 24, 2022
CoinList is a simple app based on Jetpack Compose, modern tech-stack and Clean Architecture.
CoinList is a simple app based on Jetpack Compose, modern tech-stack and Clean Architecture.

CoinList is a simple app based on Jetpack Compose, modern tech-stack and Clean Architecture. The project is quite simple which shows the list of crypto currencies and their general info details gets from API.

May 29, 2022