Developing Android Applications with Kotlin: Getting Started
Kotlin greatly simplifies the task of creating Android apps. Become a successful Android developer by developing your understanding of the Kotlin language and the creation of interactive user experiences with Android Activities.
What you'll learn
The key to becoming a successful Android app developer is getting the fundamentals right. When developing Android apps with the Kotlin programming language, it’s essential that you have a solid understanding of the fundamentals of both Android and Kotlin. Nowhere is the power and efficiency of Kotlin more evident than when used with the Android platform. In this course, Android Apps with Kotlin: Build Your First App, you’ll learn everything you need to build your first Android application using Android Studio and Kotlin. First, you’ll start by creating a new Android app and running the app in an Android emulator. After that, you’ll walk through the basics of how to implement types in Kotlin and describe the app’s object model using Kotlin. Next, you’ll see how to create an interactive user experience and connect that experience to your Kotlin code. From there, you’ll create a multi-screen user experience and pass information between screens and use the options menu to create action bar actions. Finally, you’ll learn how to effectively cooperate with the lifecycle of Android activities and how save both persistent data and instance data. By the end of the course, you'll have successfully created an Android app using Kotlin and you will have a solid grounding in the fundamentals of Android app development with Kotlin.
Table of contents
- Introduction 1m
- Using Kotlin with Android 4m
- Basic Types and Variable Declarations 5m
- Defining Types 1m
- Properties 5m
- Primary Constructor 6m
- Demo: CourseInfo & NoteInfo 5m
- Functions 3m
- Passing Parameters 3m
- Instance Initialization 2m
- Demo: DataManager Properties 4m
- Demo: DataManager Initialization 5m
- Summary 3m
- Introduction 1m
- What Is an Activity? 2m
- Activity UI 3m
- ConstraintLayout Class 4m
- Demo: Working with ConstraintLayout - Parent Constraints 7m
- Demo: Working with ConstraintLayout - View Constraints 5m
- Activity Code/Layout Relationship 3m
- Demo: Activity Code/Layout Relationship 6m
- Populating a Spinner 1m
- Demo: Populating a Spinner 7m
- Summary 3m
- Introduction 1m
- What's Next for the App? 1m
- Activity Interaction 3m
- Demo: Adding the NoteList Activity 7m
- Demo: Starting an Activity with an Intent 7m
- Singletons and Data Classes 4m
- Demo: Populating the NoteList Activity 4m
- Demo: Using Data Classes 5m
- Describing Operations with Intents 3m
- Demo: Handling Note Selection and Sending the Intent 7m
- Demo: Retrieving Intent Info and Displaying a Note 8m
- Summary 2m
- Introduction 1m
- Options Menus 3m
- Demo: Adding Options Menu Items 5m
- Demo: Handling Options Menu Item Selections 5m
- Menu Items as App Bar Actions 4m
- Demo: Menu Items as App Bar Actions 3m
- Demo: App Bar Actions with Text 4m
- Changing Menu Items at Runtime 2m
- Demo: Adding Support for Changing Menu Items 4m
- Null Safety 3m
- Null Safety Operatiors 4m
- Demo: Changing Menu Item Appearance and State 4m
- Summary 3m
- Introduction 1m
- App User Experience and Activity Lifecycle 2m
- Activity Lifecycle Methods 4m
- Demo: Saving Persistent Data Items 5m
- Demo: Creating a New Perstent Data Item 4m
- Demo: Refreshing Displayed Content 4m
- App Activity Flow and Tasks 5m
- Activity Instance State 4m
- Demo: The Importance of Instance State 5m
- Demo: Saving/Restoring Instance State 5m
- Demo: Verifying Instance State Behavior 4m
- Summary 3m