This is the code repository for Android UI Development with Jetpack Compose - Second Edition, published by Packt.
Bring declarative and native UI to life quickly and easily on Android using Jetpack Compose and Kotlin
Compose has caused a paradigm shift in Android development, introducing a variety of new concepts that are essential to an Android developer’s learning journey. It solves a lot of pain points associated with Android development and is touted to become the default way to building Android apps over the next few years. This second edition has been thoroughly updated to reflect all changes and additions that were made by Google since the initial stable release, and all examples are based on Material 3 (also called Material You).
This book covers the following exciting features:
- Recognize the motivation behind Jetpack Compose
- Gain an understanding of the core concepts of Jetpack Compose
- Build a complete app using Jetpack Compose
- Utilize Jetpack Compose inside existing Android applications
- Test and debug apps that use Jetpack Compose
- Understand Material Design and how it is implemented using Jetpack Compose
- Write apps for different form factors
- Bring your Compose UI to other platforms
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter02.
The code will look like the following:
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContent {
MainView()
}
}
}
Following is what you need for this book: If you’re an Android developer with existing knowledge of the Kotlin programming language looking to learn how to build modern Android user interfaces using Jetpack Compose, then this book is for you. This book is not an introduction to Android development. You must have a basic understanding of how Android apps are developed using Android Studio.
With the following software and hardware list you can run all code files present in the book (Chapter 1-12).
Chapter | Software required | OS required |
---|---|---|
1-12 | Android Studio Giraffe or later versions | Windows, Mac OS X, and Linux |
-
How to Build Android Apps with Kotlin - Second Edition [Packt] [Amazon]
-
Kickstart Modern Android Development with Jetpack and Kotlin [Packt] [Amazon]
Thomas Künneth is a Google Developer Expert for Android and has been a speaker and panelist at multiple international conferences about Android. Currently, Thomas works as a senior Android developer at Snapp Mobile. He has authored countless articles as well as one of the top-selling German Android books (currently in its sixth edition). He also frequently contributes to various open source projects.