Android Clean Code — Part 6 — What’s next

Learn more about the Clean Code Android mobile design pattern and unit testing your Android app piece by piece for code quality.

Mohanraj Karatadipalayam
2 min readJan 2, 2018

Having understood android Clean Code, let’s see how to adapt in your engineering.

Where to start?

Knowing android clean code is good, it will not be effective until you make it part of development eco system. Often we inherit a legacy app where the code is already developed and we add functionalities. The question is where to start ? You need not to wait for a new App to applying Android Clean Code, even if you develop a new screen in an existing app, it is good place to start. If it is a small simple screen, don’t ignore, actually it is a best place to start.

Whats there for a developer?

You get a predictability in your code and when you look at the code base, you will know where to look for, for example if you need add another member to view model, you will look at presenter. If a new data need to fetched, you will look at interactor or worker.

Android Clean Code is inspired by clean-swift and follows its nomenclature completely. When your android and iOS app projects follow them, it gives lot of flexibility and predictability to developers, they can guess where the functionality will be written, they can venture in to other areas. Android developer working iOS and vice versa — will not be a dream anymore. Think about it!

Is Android Clean Code is perfect?

Of course not, any thing not changed or refined gets stale, please contribute in opening issues, suggestions and code changes.

What about Kotlin?

The concept and the ecosystem works perfectly in Kotlin, we will create a example project very soon.

--

--

Mohanraj Karatadipalayam

Polyglot developer, Engineering manager for iOS and Android apps, Amadeus Labs