Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Kotlin for Android: Creating a Two-Screen App

via LinkedIn Learning

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Get a comprehensive overview of what you need to know as a developer to start writing command-line programs in the Kotlin programming language.

Syllabus

Introduction
  • Welcome to Kotlin
  • What you should know
  • Using the exercise files on GitHub
1. Setting Up Your Kotlin Development Environment
  • Introducing IntelliJ IDEA
  • Installing IntelliJ IDEA for macOS
  • Installing IntelliJ IDEA for Windows
  • Run your first Kotlin code
2. Common Data Types
  • Mutable and immutable data types
  • Numeric data types
  • Char and string data types
  • Nullable types
3. Working with Functions
  • Basic functions
  • Function parameters
  • Functional types
  • Higher-order functions
  • Challenge: Write a name formatter function
  • Solution: Write a name formatter function
4. Control Flow Structures
  • if and when statements
  • Statements vs. expressions
  • try/catch as control flow
  • Smart casting
  • while loops
  • for loops
  • Challenge: Replace an if/else expression with a when expression
  • Solution: Replace an if/else expression with a when expression
5. Debugging Kotlin Code
  • Setting breakpoints
  • Stepping through code
  • Evaluate expressions and add watches
6. Working with Collections
  • Arrays
  • Lists
  • Sets and maps
  • Working with collections
  • Sequences
  • Challenge: Filtering a list of data
  • Solution: Filtering a list of data
7. Working with Inputs and Outputs
  • Command-line arguments
  • Receiving user input
  • Read and write to files
  • Challenge: Parsing a list of data from a file
  • Solution: Parsing a list of data from a file
8. Testing Kotlin Code
  • Writing JUnit tests
  • Mocking data
Conclusion
  • Next steps

Taught by

Chiu-Ki Chan

Reviews

4.8 rating at LinkedIn Learning based on 213 ratings

Start your review of Kotlin for Android: Creating a Two-Screen App

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.