Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
A

Android-CleanArchitecture

> 编程语言
Open source

This is a sample app that is part of a series of blog posts I have written about how to architect an android application using Uncle Bob's clean architecture ap

15.5K stars0 likes1 views
WebsiteGitHub

About

This is a sample app that is part of a series of blog posts I have written about how to architect an android application using Uncle Bob's clean architecture ap

Android-CleanArchitecture

New version available written in Kotlin:

Architecting Android… Reloaded

Introduction

This is a sample app that is part of a blog post I have written about how to architect android application using the Uncle Bob's clean architecture approach.

Architecting Android…The clean way?

Architecting Android…The evolution

Tasting Dagger 2 on Android

Clean Architecture…Dynamic Parameters in Use Cases

Demo video of this sample

Clean architecture

Architectural approach

Architectural reactive approach

Local Development

Here are some useful Gradle/adb commands for executing this example:

  • ./gradlew clean build - Build the entire example and execute unit and integration tests plus lint check.
  • ./gradlew installDebug - Install the debug apk on the current connected device.
  • ./gradlew runUnitTests - Execute domain and data layer tests (both unit and integration).
  • ./gradlew runAcceptanceTests - Execute espresso and instrumentation acceptance tests.

Discussions

Refer to the issues section: https://github.com/android10/Android-CleanArchitecture/issues

Code style

Here you can download and install the java codestyle. https://github.com/android10/java-code-styles

License

Copyright 2018 Fernando Cejas

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.

Issues· 144 open

View all issuesOpen on GitHub
  • #325

    My all accounts

    Updated Sep 28, 2025
  • #324

    Unable to load class 'org.gradle.initialization.BuildCompletionListener'

    Updated Mar 15, 2025
  • #97

    Multiple component provided by Activity

    questiondiscussionUpdated Sep 8, 2024
  • #91

    External Service Bind Use Case

    questiondiscussionUpdated Sep 3, 2024
  • #233

    UnsupportedOperationException due to injection of Application Context while inflating layout in adapter.

    Updated Sep 3, 2024
  • #321

    为什么我clone 下工程一直找不到 DaggerApplicationComponent 这个类呢。还有还有几个都找不到

    Updated Dec 19, 2023
  • #308

    NDK warning on build

    Updated May 4, 2022
  • #115

    What would playing music files look like in Clean Architecture?

    questiondiscussionUpdated Apr 24, 2022
  • #317

    which layer should the mediaplayer be

    Updated Apr 24, 2022
  • #136

    Why data layer has a dependency on the domain layer?

    questiondiscussionUpdated Feb 19, 2022

> Tags

Javaandroidandroid-applicationandroid-architectureandroid-cleanarchitecture

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言