Jetpack Compose 1.7 Essentials
by Neil Smyth
Jetpack Compose 1.7 Essentials is a thorough, reference-style book for
developing Android applications using Android Studio, Kotlin, and
Jetpack Compose 1.7. Tailored for both novice and experienced
programmers, this book begins with an introduction to Kotlin programming
before guiding readers through the installation and setup of Android
Studio and AVD emulators. From there, it transitions into Android app
development using Jetpack Compose, building a solid foundation in
modern, declarative UI creation. Whether you are just starting or
looking to deepen your expertise, this guide provides a clear,
step-by-step approach to mastering Android development with Jetpack
Compose.
This work was written and produced entirely by the author. We are proud to be distributing it.
This book is a comprehensive guide to building Android applications
using Jetpack Compose 1.7, Android Studio, and Kotlin. It includes
detailed tutorials with downloadable source code to help you put theory
into practice and online quizzes to reinforce and test your knowledge
and understanding.
The book is structured to build your knowledge from the ground up.
Starting from the basics, it guides you through setting up Android
Studio, followed by an introduction to Kotlin. You will learn essential
programming concepts like data types, operators, control flow,
functions, lambdas, coroutines, and object-oriented programming. With a
solid foundation, you will dive into Jetpack Compose, learn the
fundamentals of declarative UI, and explore Android project architecture
in Compose development mode.
In addition, the book covers data handling using state properties and
essential user interface design concepts like layout managers,
modifiers, navigation bars, and user interface navigation. You will also
explore building reusable custom layout components, securing your apps
with Biometric authentication, and integrating Google Maps.
Other topics covered include graphics drawing, user interface animation,
and gesture handling. Chapters also cover view models, database storage,
and custom theme creation. You will also learn how to generate extra
revenue from your app using in-app billing and bring your app’s content
to the home screen using Glance widgets.
Finally, the book explains how to package and upload a completed app for
publication to the Google Play Store.
What You Need
- Windows 8/10/11 64-bit
- macOS 10.14 or later running on Intel or Apple silicon
- Chrome OS device with Intel i5 or higher
- Linux systems with version 2.31 or later of the GNU C Library
(glibc)
- Android Studio Iguana (2023.2.1)
- Minimum of 8GB of RAM
- Approximately 8GB of available disk space
- 1280 x 800 minimum screen resolution
Source code
Errata
Resources
Releases:
2024/12/11
P1.0
First electronic release.
1.
Start
Here
2. Setting up an Android Studio Development Environment
3. A Compose Project Overview
4. An Example Compose Project
excerpt
5. Creating an Android Virtual Device (AVD) in Android Studio
6. Using and Configuring the Android Studio AVD Emulator
7. A Tour of the Android Studio User Interface
8. Testing Android Studio Apps on a Physical Android Device
9. The Basics of the Android Studio Code Editor
10. An Overview of the Android Architecture
11. An Introduction to Kotlin
12. Kotlin Data Types, Variables and Nullability
13. Kotlin Operators and Expressions
14. Kotlin Control Flow
15. An Overview of Kotlin Functions and Lambdas
16. The Basics of Object-Oriented Programming in Kotlin
17. An Introduction to Kotlin Inheritance and Subclassing
18. Introducing Gemini in Android Studio
19. An Overview of Compose
20. A Guide to Gradle Version Catalogs
21. Composable Functions Overview
excerpt
22. An Overview of Compose State and Recomposition
23. An Introduction to Composition Local
24. An Overview of Compose Slot APIs
25. A Compose Slot API Tutorial
26. Using Modifiers in Compose
27. Annotated Strings and Brush Styles
28. Composing Layouts with Row and Column
29. Box Layouts in Compose
30. An Introduction to FlowRow and FlowColumn
31. A FlowRow and FlowColumn Tutorial
32. Custom Layout Modifiers
33. Building Custom Layouts
34. A Guide to ConstraintLayout in Compose
35. Working with ConstraintLayout in Compose
36. Working with IntrinsicSize in Compose
37. Coroutines and LaunchedEffects in Jetpack Compose
38. An Overview of Lists and Grids in Compose
39. A Compose Row and Column List Tutorial
40. A Compose Lazy List Tutorial
41. Lazy List Sticky Headers and Scroll Detection
42. A Compose Lazy Staggered Grid Tutorial
43. VerticalPager and HorizontalPager in Compose
44. Compose Visibility Animation
45. Compose State-Driven Animation
46. Canvas Graphics Drawing in Compose
47. Working with ViewModels in Compose
48. A Compose ViewModel Tutorial
49. An Overview of Android SQLite Databases
50. Room Databases and Compose
51. A Compose Room Database and Repository Tutorial
52. An Overview of Navigation in Compose
53. A Compose Navigation Tutorial
54. A Compose Navigation Bar Tutorial
55. Detecting Gestures in Compose
56. An Introduction to Kotlin Flow
57. A Jetpack Compose SharedFlow Tutorial
58. Introducing Glance Widgets
59. A Glance Widget Tutorial
60. An Android Biometric Authentication Tutorial
61. Working with the Google Maps Android API in Android Studio
62. Creating, Testing, and Uploading an Android App Bundle
63. An Overview of Android In-App Billing
64. An Android In-App Purchasing Tutorial
65. Working with Compose Theming
66. A Material Design 3 Theming Tutorial
67. An Overview of Gradle in Android Studio
Index
Author
Neil Smyth has more than 25 years of experience in the IT industry,
including software development, project management, and marketing. He
has a Bachelor of Science degree in Information Technology and holds
several certifications, including A+, Security+, Network+,
Project+, Java Associate, and Microsoft Certified Professional. Neil
is also a CIW Database Design Specialist.
Neil is the co-founder and CEO of Payload Media, Inc., a technical
content publishing company. He is also an author who has written several
programming and system administration books under the “Essentials”
range. Notable titles include Android Studio Development Essentials,
Jetpack Compose
Essentials,
iOS App Development
Essentials,
and Ubuntu Essentials.