Switch to Kotlin from Java for Android Development
Kotlin is a statically-typed language whose syntax is more expressive and concise than Java. This course will teach you how to transform your existing Android project into Kotlin and adopt Kotlin as the first-class language for developing apps.
What you'll learn
At the core of developing an Android app using Kotlin is a thorough knowledge of how to start creating Android apps using Kotlin in place of Java. In Switch to Kotlin from Java for Android Development, you will learn techniques on how to migrate from Java and start using Kotlin as a first-class language for developing Android applications. First, you will learn how to use existing Android APIs in your project using Kotlin, such as SharedPreferences, Retrofit, Realm and material design features like Navigation Drawer and Recycler View. Next, you will explore how to manage Views and Adapters using the Kotlin-Android Extension plugin. Finally, you will discover how to implement Kotlin features in your application, such as higher-order functions, lambda expressions, extension functions, models, anonymous class objects, companion objects, and various Kotlin classes and, thus, leverage the power of Kotlin in your app. When you are finished with this course, you will have a foundational understanding of using Kotlin in your Android apps instead of Java which will help you to transform your existing Android project written in Java into Kotlin and adopt Kotlin as your primary language for developing Android apps for personal and/or commercial use.
Table of contents
- Converting First Java File to Kotlin 4m
- Integrating Kotlin Android Extension Plugin 2m
- View Binding by Kotlin Android Extension Plugin 9m
- View Caching by Kotlin Android Extension Plugin 2m
- Replica of Java Code in Kotlin 7m
- Kotlin Reflection and Companion Object 5m
- Adding Validation Layer 3m
- Summary and What's Next? 2m
- Power of Kotlin 1m
- Extension Function: Toast Messages 6m
- Extension Function: Retrofit Error Message Display 3m
- Extension Function: Validation Layer 5m
- Default Parameters 2m
- Lambda Expression and Higher-order Function 5m
- Implementing Lambda Expression and Higher-order Function 4m
- Inline Function 3m
- Summary 1m