Автор: Myles Bennett
Издательство: BPB Publications
Год: 2025
Страниц: 410
Язык: английский
Формат: epub (true)
Размер: 11.4 MB
Kotlin, a modern and expressive language, has revolutionized Android app development. As the app complexity grows, building scalable and maintainable Android apps becomes crucial.
This book is a complete guide to modern Android app development using Kotlin. It covers key concepts like clean architecture and dependency injection for building strong, maintainable apps. This book will also help you learn how to use Kotlin DSL for build configuration and Jetpack Compose for creating user interfaces. It also covers testing, debugging, networking, and API integration. With best practices and real-world examples, this book will help developers create high-quality Android apps using Kotlin.
By the end of this book, you will be equipped with the knowledge and skills to architect, develop, and deploy scalable Android apps using Kotlin. You will confidently tackle complex app development challenges, write clean, efficient, and testable code, and become a proficient Android developer.
Key Features:
- Learn Kotlin and Jetpack Compose essentials.
- Understand how to apply feature-oriented separation of concerns.
- Use cross-platform technologies to achieve a clean code architecture.
- Perfect control of Jetpack Compose UI with unidirectional flow.
- Discover how to engineer an application from inception to release.
What you will learn:
- Kotlin and Jetpack Compose fundamentals.
- Feature-oriented separation of concerns.
- Clean-code architecture in Android.
- Kotlin-specific test-driven development.
- Multi-module project organization.
- Tips and techniques for debugging.
- Continuous integration and releasing applications.
Chapter 1: Introduction to Kotlin for Android – discusses the finer aspects of Kotlin that makes it stand out from other languages and why it is a great choice for Android development. From nullable and built-in lambda types through to asynchronous implementations with Coroutines and everything in between, this chapter provides the foundation for all the concepts discussed in the entire book.
Chapter 2: Breaking Down App Code with Separation of Concerns - details the break-down of app code by introducing separation of concerns (SoC). The entire foundation for this book is based on this concept. This chapter also has a brief look at its benefits, examines the concept at a high level and discusses the aspects of the Kotlin language that facilitate its implementation.
Chapter 3: Feature-Oriented Development in Android - continues the theme of SoC, this chapter discusses the high-level method of splitting an app into conceptual features and how this helps contribute to code quality. It examines the origins of the Feature concept and provides an example in the form of a case study.
Chapter 4: Clean Code Architecture - looks at the recommended way of further subdividing those features into modules representing different layers of CCA. It will describe the original CCA concept in depth and then present a very similar arrangement adapted specifically for Android, combining it with Data-Domain-Presentation layering.
...
Chapter 15: Test Automation - focuses on automation testing in Kotlin with Jetpack Compose, providing the essential knowledge and tools to create reliable and maintainable test suites for applications. A range of topics will be covered, from setting up a testing environment and writing basic UI tests to more advanced techniques such as testing state management, handling asynchronous operations, and integrating testing into a continuous integration pipeline.
Chapter 16: Building and Distributing Applications - discusses the process of building and distributing Android apps, exploring the essential steps and best practices to bring ideas to life and share them with the world. By the end of this chapter, the reader will have gained insight into creating and uploading an APK to Google Play Store or Amazon App Store.
Who this book is for:
This book can be understood by novice developers but will also benefit intermediate/seasoned professionals in the Android space. This book is a must-have for Android developers, software engineers, and mobile app developers striving to create exceptional applications.
Contents:
Скачать Scalable Android Applications in Kotlin: Write and maintain large Android application code bases