Book description
Master the fundamentals of Android programming and apply your skills to create scalable and reliable apps using industry best practices
Key Features
- Build apps with Kotlin, Google’s preferred programming language for Android development
- Unlock solutions to development challenges with guidance from experienced Android professionals
- Improve your apps by adding valuable features that make use of advanced functionality
Book Description
Are you keen to get started building Android 11 apps, but don’t know where to start? How to Build Android Apps with Kotlin is a comprehensive guide that will help kick-start your Android development practice.
This book starts with the fundamentals of app development, enabling you to utilize Android Studio and Kotlin to get started building Android projects. You'll learn how to create apps and run them on virtual devices through guided exercises. Progressing through the chapters, you'll delve into Android’s RecyclerView to make the most of lists, images, and maps, and see how to fetch data from a web service.
Moving ahead, you'll get to grips with testing, learn how to keep your architecture clean, understand how to persist data, and gain basic knowledge of the dependency injection pattern. Finally, you'll see how to publish your apps on the Google Play store.
You'll work on realistic projects that are split up into bitesize exercises and activities, allowing you to challenge yourself in an enjoyable and attainable way. You'll build apps to create quizzes, read news articles, check weather reports, store recipes, retrieve movie information, and remind you where you parked your car.
By the end of this book, you'll have the skills and confidence to build your own creative Android applications using Kotlin.
What you will learn
- Create maintainable and scalable apps using Kotlin
- Understand the Android development lifecycle
- Simplify app development with Google architecture components
- Use standard libraries for dependency injection and data parsing
- Apply the repository pattern to retrieve data from outside sources
- Publish your app on the Google Play store
Who this book is for
If you want to build your own Android applications using Kotlin but are unsure of how to begin, then this book is for you. To easily grasp the concepts in this book, it is recommended that you already have a basic understanding of Kotlin, or experience in a similar programming language and a willingness to brush up on Kotlin before you start.
Table of contents
- How to Build Android Apps with Kotlin
- Preface
- 1. Creating Your First App
- 2. Building User Screen Flows
- 3. Developing the UI with Fragments
- 4. Building App Navigation
- 5. Essential Libraries: Retrofit, Moshi, and Glide
- 6. RecyclerView
- 7. Android Permissions and Google Maps
- 8. Services, WorkManager, and Notifications
- 9. Unit Tests and Integration Tests with JUnit, Mockito, and Espresso
- 10. Android Architecture Components
- 11. Persisting Data
- 12. Dependency Injection with Dagger and Koin
- 13. RxJava and Coroutines
- 14. Architecture Patterns
-
15. Animations and Transitions with CoordinatorLayout and MotionLayout
- Introduction
-
Activity Transitions
- Adding Activity Transitions through XML
- Adding Activity Transitions through Code
- Starting an Activity with an Activity Transition
- Exercise 15.01: Creating Activity Transitions in an App
- Adding a Shared Element Transition
- Starting an Activity with the Shared Element Transition
- Exercise 15.02: Creating the Shared Element Transition
- Animations with CoordinatorLayout
- Animations with MotionLayout
- Summary
- 16. Launching Your App on Google Play
Product information
- Title: How to Build Android Apps with Kotlin
- Author(s):
- Release date: February 2021
- Publisher(s): Packt Publishing
- ISBN: 9781838984113
You might also like
book
How to Build Android Apps with Kotlin - Second Edition
Unleash the power of Android programming to build scalable and reliable apps using industry best practices …
book
Android Development with Kotlin
Learn how to make Android development much faster using a variety of Kotlin features, from basics …
video
The Art of Doing: Dive Into Android Development with Kotlin
The Art of Doing: Dive into Android development with Kotlin is a course that takes the …
book
Programming Android with Kotlin
Developing applications for the Android mobile operating system can seem daunting, particularly if it requires learning …