Skip to content

PacktPublishing/Mastering-Kotlin-for-Android

Repository files navigation

Mastering Kotlin for Android 14

This is the code repository for Mastering Kotlin for Android 14, published by Packt.

Build powerful Android apps from scratch using Jetpack libraries and Jetpack Compose

What is this book about?

If you’re an aspiring Android developer or an Android developer working with Java, then this book is for you. Basic Java programming skills are a must if you want to fully utilize the techniques and best practices showcased in this book.

This book covers the following exciting features:

  • Build beautiful, responsive, and accessible UIs with Jetpack Compose
  • Explore various app architectures and find out how you can improve them
  • Perform code analysis and add unit and instrumentation tests to your apps
  • Publish, monitor, and improve your apps in the Google Play Store
  • Perform long-running operations with WorkManager and persist data in your app
  • Use CI/CD with GitHub Actions and distribute test builds with Firebase App Distribution
  • Find out how to add linting and static checks on CI/CD pipelines

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

class PetsViewModel: ViewModel() {
    private val petsRepository: PetsRepository = PetsRepositoryImpl()
    fun getPets() = petsRepository.getPets()
}

Following is what you need for this book:

Written with the best practices recommended by the Android Team at Google in mind, this book will help you master Kotlin and use its powerful language features, libraries, tools, and APIs to elevate your Android apps.

With the following software and hardware list you can run all code files present in the book (Chapter 1-15).

Software and Hardware List

Chapter Software required OS required
1-15 Android Studio Hedgehog or later versions Windows, macOS, or Linux

Related products

##Errata

  • Page 18, On the bottom: Also, some features are only available in newer SDK versions, so we have to add a fallback mechanism for devices for should be Also, some features are only available in newer SDK versions, so in most cases we have to add a fallback mechanism for devices using SDK versions where the feature is not available.

Get to Know the Author

Harun Wangereka is a Google Developer Expert for Android and an Android engineer with over seven years of experience and currently working at Apollo Agriculture. Harun is passionate about Android development, never tired of learning, building the tech community, and helping other developers upscale their skills. He is a co-organizer at Droidcon Kenya and a former Kotlin Kenya and Android254 co-organizer. Through these communities, he has been able to impact thousands of developers. He is also an Android author at Kodeco where he has written 8 articles, published a book; Saving Data on Android, Second Edition, and is also a video course instructor. He has given numerous sessions on Android and Kotlin across different communities worldwide.

About

Mastering Kotlin for Android, published by Packt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages