Chapter 5: Building the Domain of an Android Application
In this chapter, we will analyze what the architecture of an Android application typically looks like and its three main layers (presentation, domain, and data). Then, we will learn how we can translate it into clean architecture and focus on the domain layer, which sits at the center of the architecture. Next, we will look at the role it plays in the architecture of an application and what its entities and use cases are. Finally, we will look at an exercise, in which we are going to see how we can set up an Android Studio project with multiple modules and use them to structure the domain layer.
In this chapter, we will cover the following topics:
- Introducing the app's architecture
- Creating the domain layer
By the end of this chapter, you will be familiar with the domain layer of an application, domain entities, and use cases.