
Explore modern Android app architecture, from clean code and dry/solid principles to layered and clean architectures. Learn mvc, mvp, mvvm patterns, components, navigation, and dependency injection for modular apps.
Examine the goals of system design principles to produce clean, readable, and maintainable code with strong testability, separation of concerns, and adherence to dry and solid practices.
Apply the Kiss principle, keep it simple and avoid overengineering, by breaking problems into smaller subproblems and solving them step by step to improve maintainability.
Apply the single responsibility principle to refactor the demo app's nodes manager and nodes persistence. Group load, save, and delete with persistence and keep share separate, improving testability and readability.
Discover model-view-intent (MVI): a single immutable state, one-way flow, and a pure reducer that maps intents to new states, with one-off effects.
Explore the MVI pattern by implementing intents, state, and one-time effects in a nodes module, demonstrating load, add, delete, and share actions with snack bar feedback and unidirectional data flow.
Explore VIPER architecture for Android, detailing the five components—view, interactor, presenter, entity, router—each with a single responsibility, interfaces, and testable boundaries that separate the user interface from logic.
See VIPER applied on Android with view, presenter, interactor, and router separation. Explore two features: add node and nodes list, showing interfaces, lifecycle handling, and testable dependencies.
Explore the goals and strategies of clean architecture as defined by Uncle Bob, examine its components, and discuss when to use it with practical use cases.
Explore the goals of clean architecture—development, deployment, operation, and maintenance—to minimize costs, maximize programmer productivity, and leverage modularization with stable interfaces in mobile apps.
Learn how the UI layer, powered by viewmodels, translates data from the data layer into immutable UI state for rendering, with unidirectional data flow and events via LiveData.
Explore the UI and domain layer changes, including a sealed notes UI state with loading, error, and content, exposed via a state flow, and a new sync use case.
Learn to implement coroutines with Kotlin flows in an Android app using ViewModel and lifecycle scopes, avoid LiveData, and optimize flow collection with hot state flows and lifecycle-aware collection.
Jetpack Compose Navigation is now typesafe - stay tuned for a lecture update!
Explore the service locator pattern as an alternative to dependency injection, where a central locator creates and exposes dependencies to classes on demand, highlighting its decoupling, testing, and scoping trade-offs.
Examine component cohesion and coupling to design maintainable multi-module Android apps. Compare modularization strategies: separation by layer, by feature, and by layer-feature, across multimodal app models with a notes demo.
Apply modularization to the notes app by separating data, domain, and UI layers, adopt Gradle version catalogs, and enable dependency injection with Hilt for decoupled, testable architecture.
Take your Android development skills to the next level and become an expert in app architecture. Whether building small apps or large, multimodule projects, mastering Android app architecture is key to creating scalable, maintainable, high-performing applications.
Being an expert in app architecture will also prepare you for a Mobile Tech Lead role, as you will be able to make key architectural decisions, and guide projects toward success. You will also learn crucial system design principles and patterns that will help you excel in mobile system design interviews.
Stefan started developing Android apps - almost from Android's birth - in 2011, and since then had to architect, design, and develop many challenging Android, iOS, and Multiplatform apps. In this course, he wants to share his comprehensive experience with you.
Apps are unique - different apps have different requirements and may require different architectural decisions. This course is designed to provide a solid foundation of architectural principles, explain and compare popular app architectures, and guide in selecting the right architecture based on the given requirements. Despite the course being especially targeted at Android, most concepts also apply to iOS.
About 8 hours of on-demand video content will cover what you need to know to master modern Android app architecture:
Writing Clean Code: Apply best practices and system design principles such as DRY and SOLID to create maintainable, scalable codebases.
Choosing the Right Pattern (MVC, MVP, MVVM): Learn the key differences between Model-View-Controller (MVC), Model-View-Presenter (MVP), and Model-View-ViewModel (MVVM) and choose the right pattern based on app size, complexity, and team needs
Implementing Clean Architecture: Minimize app lifetime maintenance costs and maximize developer productivity
Implementing Layered Architecture: Learn how to separate concerns into data, domain, and UI layers for better maintainability based on Google's recommended app architecture
Using Android Architecture Components: Build scalable apps using Jetpack libraries from the UI to the data layer such as the Lifecycle API, the ViewModel API, LiveData & Flow, Coroutines, SharedPreferences & DataStore, the Room database, the WorkManager API or the Paging library
Implementing Efficient Navigation: Seamlessly handle navigation in complex apps with Android’s navigation component
Applying Dependency Injection (DI): Use popular DI frameworks like Dagger and Hilt, or service locator frameworks such as Kodein and Koin to write cleaner, more testable code with better dependency management
Mastering Modularization: Organize your complex codebase into modules, whether they are based on layers, features, or both for better scalability, respecting the principles of component cohesion and component coupling