4. Components

When you’re developing an Android application, having an understanding of the components that make up the application will accelerate the development as well as simplify the process. Knowing how pieces of the architecture work with each other can turn creating an impossible application into an attainable one.

In this chapter, you are introduced to the components that are used by the Android system to pass information and display data to the user. Specifically, you learn about Intents, Activities, and Fragments.

Intents

When it comes to application components, the Intent component is one that is aptly named. You use an Intent to inform the system that you want to start something. You can think of it exactly as it sounds: letting ...

Get Android™ Development Patterns: Best Practices for Professional Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.