Fundamentals of Transitioning an Android App from Java to Kotlin
Kotlin is a powerful development language for Android apps. This course will teach you how to migrate an existing Android app written in Java to Kotlin. You will learn how to transition existing components as well as writing new features in Kotlin.
What you'll learn
Remaining up-to-date with emerging technologies is a key priority for developers and technical leaders alike. In May 2019, Google transitioned from Java to Kotlin as the preferred language for Android development. In this course, Fundamentals of Transitioning an Android App from Java to Kotlin, you’ll learn why and how to migrate from Java to Kotlin. First, you’ll learn the different approaches to migrating an existing app from Java to Kotlin and how to determine which one fits your use case. Next, you’ll discover how to migrate existing pieces of your app. This will include foundational parts of your application such as models, networking, and dependency injection. You will also learn how to transition features including UI components. Finally, you'll write a brand new feature in Kotlin to understand the now lower barrier to entry. By the end of this course, you'll have a better understanding of transitioning an app from Java to Kotlin.
Table of contents
- Version Check 0m
- Why Migrate to Kotlin? 6m
- Migration Approach 1: Use Android Studio's Built-in Tool 5m
- Migration Approach 2: Convert Individual Features 3m
- Migration Approach 3: Write New Features in Kotlin 3m
- Migration Approach 4: Don't Migrate 2m
- Demo: Review Sample App and Determine Migration Approach 5m