{"id":18407210,"url":"https://github.com/kl3jvi/clean_modularized","last_synced_at":"2025-04-07T08:32:37.854Z","repository":{"id":41160608,"uuid":"467108194","full_name":"kl3jvi/clean_modularized","owner":"kl3jvi","description":":popcorn: Movie Android App written in Kotlin, MVVM, Clean Architechture, Modularized, Coroutines, Android Architecture Components and Hilt.","archived":false,"fork":false,"pushed_at":"2022-03-20T14:03:55.000Z","size":4540,"stargazers_count":18,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T15:51:41.534Z","etag":null,"topics":["android","coroutines-android","hilt-android","modularization","mvvm-android"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kl3jvi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-07T13:35:33.000Z","updated_at":"2024-09-05T21:13:13.000Z","dependencies_parsed_at":"2022-08-29T22:50:23.864Z","dependency_job_id":null,"html_url":"https://github.com/kl3jvi/clean_modularized","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kl3jvi%2Fclean_modularized","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kl3jvi%2Fclean_modularized/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kl3jvi%2Fclean_modularized/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kl3jvi%2Fclean_modularized/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kl3jvi","download_url":"https://codeload.github.com/kl3jvi/clean_modularized/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247620565,"owners_count":20968233,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","coroutines-android","hilt-android","modularization","mvvm-android"],"created_at":"2024-11-06T03:13:04.480Z","updated_at":"2025-04-07T08:32:35.170Z","avatar_url":"https://github.com/kl3jvi.png","language":"Kotlin","readme":"![clean_modularized](https://raw.githubusercontent.com/kl3jvi/clean_modularized/master/assets/header.png)\u003cbr\u003e\n\n[![Kotlin Version](https://img.shields.io/badge/Kotlin-1.6.10-blue.svg)](https://kotlinlang.org)\n[![AGP](https://img.shields.io/badge/AGP-4-blue?style=flat)](https://developer.android.com/studio/releases/gradle-plugin)\n[![Gradle](https://img.shields.io/badge/Gradle-7-blue?style=flat)](https://gradle.org)\n\nThis is a sample project that presents a modern approach to [Android](https://en.wikipedia.org/wiki/Android_(operating_system)) application development.\n\nThe goal of the project is to combine popular libraries/tools and demonstrate best developement practices by utilizing up to date tech-stack and presenting modern Android application [Architecture](#architecture) that is modular, scalable, maintainable, and testable. This application may look simple,\nbut it has all the pieces that will provide the rock-solid foundation for the larger app suitable for bigger teams\nand long [application lifecycle](https://en.wikipedia.org/wiki/Application_lifecycle_management).\n\nThis project is being maintained to match industry standards. \n\n## Project characteristics and tech-stack\n\n\u003cimg src=\"https://raw.githubusercontent.com/kl3jvi/clean_modularized/master/assets/Screenshot_20220318_171359.png\" width=\"336\" align=\"right\" hspace=\"20\"\u003e\n\nThis project takes advantage of best practices, many popular libraries and tools in the Android ecosystem. Most of the libraries are in the stable version unless there is a good reason to use non-stable dependency.\n\n* Tech-stack\n    * [100% Kotlin](https://kotlinlang.org/) + [Coroutines](https://kotlinlang.org/docs/reference/coroutines-overview.html) - perform background operations\n    * [Retrofit](https://square.github.io/retrofit/) - networking\n    * [Jetpack](https://developer.android.com/jetpack)\n        * [Navigation](https://developer.android.com/topic/libraries/architecture/navigation/) - in-app navigation\n        * [LiveData](https://developer.android.com/topic/libraries/architecture/livedata) - notify views about database change\n        * [Lifecycle](https://developer.android.com/topic/libraries/architecture/lifecycle) - perform an action when lifecycle state changes\n        * [ViewModel](https://developer.android.com/topic/libraries/architecture/viewmodel) - store and manage UI-related data in a lifecycle conscious way\n        * [Room](https://developer.android.com/jetpack/androidx/releases/room) - store offline cache\n    * [Koin](https://insert-koin.io/) - dependency injection\n    * [Coil](https://github.com/coil-kt/coil) - image loading library\n    * [Lottie](http://airbnb.io/lottie) - animation library\n    * [Stetho](http://facebook.github.io/stetho/) - application debugging\n* Modern Architecture\n    * Clean Architecture (at feature module level)\n    * Single activity architecture using [Navigation component](https://developer.android.com/guide/navigation/navigation-getting-started)\n    * MVVM + MVI (presentation layer)\n    * [Dynamic feature modules](https://developer.android.com/studio/projects/dynamic-delivery)\n    * [Android Architecture components](https://developer.android.com/topic/libraries/architecture) ([ViewModel](https://developer.android.com/topic/libraries/architecture/viewmodel), [LiveData](https://developer.android.com/topic/libraries/architecture/livedata), [Navigation](https://developer.android.com/jetpack/androidx/releases/navigation))\n    * [Android KTX](https://developer.android.com/kotlin/ktx) - Jetpack Kotlin extensions\n* CI\n  * [GitHub Actions](https://github.com/features/actions)\n  * Automatic PR verification including tests, linters and 3rd online tools\n* Testing\n    * [Unit Tests](https://en.wikipedia.org/wiki/Unit_testing) ([JUnit 5](https://junit.org/junit5/) via\n    [android-junit5](https://github.com/mannodermaus/android-junit5))\n    * [UT Tests](https://en.wikipedia.org/wiki/Graphical_user_interface_testing) ([Espresso](https://developer.android.com/training/testing/espresso))\n    * [Mockk](https://mockk.io/) - mocking framework\n    * [Kluent](https://github.com/MarkusAmshove/Kluent) - assertion framework\n* UI\n    * [Material design](https://material.io/design)\n    * Reactive UI\n* Static analysis tools\n    * [Ktlint](https://github.com/pinterest/ktlint) - validate code formating\n    * [Detekt](https://github.com/arturbosch/detekt#with-gradle) - verify complexity look for and code smell\n* Gradle\n    * [Gradle Kotlin DSL](https://docs.gradle.org/current/userguide/kotlin_dsl.html)\n    * Custom tasks\n    * Plugins ([SafeArgs](https://developer.android.com/guide/navigation/navigation-pass-data#Safe-args),\n    [android-junit5](https://github.com/mannodermaus/android-junit5))\n    * [Dependency locks](https://docs.gradle.org/current/userguide/dependency_locking.html)\n    * [Versions catalog](https://docs.gradle.org/7.0-milestone-1/userguide/platforms.html)\n\n## Architecture\n\nFeature related code is placed inside one of the feature modules.\nWe can think about each feature as the reusable component, equivalent of [microservice](https://en.wikipedia.org/wiki/Microservices) or private library.\n\nThe modularized code-base approach provides few benefits:\n- better [separation of concerns](https://en.wikipedia.org/wiki/Separation_of_concerns). Each module has a clear API., Feature related classes live in different modules and can't be referenced without explicit module dependency.\n- features can be developed in parallel eg. by different teams\n- each feature can be developed in isolation, independently from other features\n- faster compile time\n\n## Package Structures\n\n```\ncom.kl3jvi.mvvm_template # Root Package\n├─ app              \n├─ buildSrc           \n├─ feature_home\n└──feature_favorites\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkl3jvi%2Fclean_modularized","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkl3jvi%2Fclean_modularized","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkl3jvi%2Fclean_modularized/lists"}