Introduction to Kotlin Training in Hong Kong

  • Learn via: Classroom / Virtual Classroom / Online
  • Duration: 4 Days
  • Price: Please contact for booking options
We can host this training at your preferred location. Contact us!

This is an intensive course for developers moving to Kotlin from Java, C# or similar languages. It is designed to be conducted over four days but can be tailored based on the requirements of the delegates. The delivery is workshop based with delegates spending the majority of their time solving problems and creating sample applications.

By the end of the delivery delegates will be able to program using all the features of Kotlin, refactor Kotlin codebases in IntelliJ, perform TDD using KotlinTest and generate mock objects using Mockito. Additionally they will be able to develop microservices via both Spring MVC and WebFlux and create basic Android applications.

Delegates must be confident Java developers, or else have equivalent experience in languages like Groovy and Clojure. Knowledge of Functional Programming concepts is very helpful but not essential. If the chapters on Spring Services and Mobile Development are being covered then delegates should have prior experience with those frameworks.


  • Program using both the functional and object-oriented features of Kotlin
  • Unit test and refactor Kotlin code via KotlinTest, Mockito and IntelliJ
  • Write RESTful services in Kotlin via Spring Boot, MVC and WebFlux
  • Create responsive mobile applications using Kotlin and Android Studio

Introducing Kotlin on the JVM

  • Four coding paradigms within Java 9
  • Limits imposed by backwards compatability
  • The new consenses in language design
  • A brief history of the Kotlin language
  • Comparing Kotlin to Scala and Clojure
  • Comparing Kotlin to Swift and TypeScript

First Steps with Kotlin

  • Declarations and type inference
  • The Kotlin type system and conversions
  • Packages, access levels and default imports
  • Nullable types and operators for null safety
  • Keywords for selection and iteration
  • Options for declaring basic functions
  • Overloading, infix functions and ranges

Object Orientation

  • Decompiling Kotlin classes using ‘javap’
  • Understanding properties and backing fields
  • A detailed explanation of primary constructors
  • Adding extra fields and secondary constructors
  • Extra features automatically added to data classes
  • Overriding, abstract classes and interfaces
  • Using object expressions as event handlers
  • Object declarations and companion objects

Agile Development

  • Review of core principles of Agile development
  • Refactoring Kotlin code within IntelliJ
  • Performing TDD in Kotlin using KotlinTest
  • Using Mockito to separate types from dependencies
  • Options for BDD and Property Based Testing

Generics and Type Parameters

  • Revision of covariance and contravariance
  • Common issues with bounded wildcards in Java
  • How declaration site variance simplifies generics
  • Support for use-site variance (aka type projection)
  • Declaring single and multiple constraints on types

Working with Collections Part 1

  • Introducing the Kotlin collections library
  • Working with mutable and immutable collections
  • Support for destructuring types and collections

Functional Programming

  • Working with function references and code blocks
  • Declaring functions as parameters and return types
  • Using higher order functions for internal iteration
  • Creating your own versions of ‘filter’, ‘map’ etc…
  • Using higher order functions to prevent duplication
  • Understanding partial invocation and currying
  • Choosing between code blocks and local functions
  • Common misunderstandings regarding enclosure

Working with Collections Part 2

  • Basic coding using ‘filter’, ‘map’ and ‘forEach’
  • Testing against a predicate using ‘all’, ‘any’ etc…
  • Why ‘flatMap’ is such as valuable operation in FP
  • Distinguishing between ‘fold’, ‘foldRight’ and ‘reduce’
  • Converting between collection types within FP

Interoperability Between Kotlin and Java

  • General guidelines for mixed language codebases
  • Considerations when calling Java libraries from Kotlin
  • Obtaining and using java.lang.Class objects in Kotlin
  • Tips and idioms for calling Kotlin libraries from Java code

Creating Spring Microservices in Kotlin

  • Revision of the Spring Framework and RESTful architecture
  • Creating Spring Boot projects in Kotlin via the Spring Initializr
  • Declaring Spring MVC based RESTful services using annotations
  • Injecting dependencies and configuring exception handling
  • Creating reactive microservices using Spring WebFlux
  • Taking advantage of the Kotlin specific routing DSL

Creating Mobile Applications in Kotlin

  • Revision of the Android platform and Dalvik VM
  • Installing Android Studio and configuring emulators
  • Introducing the sample project for tracking expenses
  • Reverse engineering the sample activities and layouts
  • Performing dependency injection on Android with Dagger 2
  • Persisting application state using the Realm database


Contact us for more detail about our trainings and for all other enquiries!

Upcoming Trainings

Join our public courses in our Hong Kong facilities. Private class trainings will be organized at the location of your preference, according to your schedule.

Classroom / Virtual Classroom
06 January 2025
Hong Kong, Kowloon, Tsuen Wan
4 Days
Classroom / Virtual Classroom
12 January 2025
Hong Kong, Kowloon, Tsuen Wan
4 Days
Classroom / Virtual Classroom
13 January 2025
Hong Kong, Kowloon, Tsuen Wan
4 Days
Classroom / Virtual Classroom
15 January 2025
Hong Kong, Kowloon, Tsuen Wan
4 Days
Classroom / Virtual Classroom
17 January 2025
Hong Kong, Kowloon, Tsuen Wan
4 Days
Classroom / Virtual Classroom
21 January 2025
Hong Kong, Kowloon, Tsuen Wan
4 Days
Classroom / Virtual Classroom
06 January 2025
Hong Kong, Kowloon, Tsuen Wan
4 Days
Classroom / Virtual Classroom
12 January 2025
Hong Kong, Kowloon, Tsuen Wan
4 Days
Introduction to Kotlin Training Course in Hong Kong

Hong Kong is officially known as the Hong Kong Special Administrative Region of the People's Republic of China (HKSAR) and is a city and special administrative region of China on the eastern Pearl River Delta in South China. Hong Kong is one of the most densely populated places in the world, with over 7.5 million population. The official languages of the HKSAR are Chinese and English. Hong Kong is a highly developed territory and ranks fourth on the United Nations Human Development Index and the residents of Hong Kong have the highest life expectancies in the world.

The best time to visit Hong Kong is from September to December, since the temperatures, averaging between 19 to 28 degree Celsius. During this outdoor activities-friendly travelling season, you can take a walk along Victoria Harbour, visit the islands of Lantau, Lamma and Cheung Chau and participate in the Mid-Autumn Festival. Top choices of the tourists to visit in Hong Kong are Big Buddha statue, Wong Tai Sin Temple, Repulse Bay and the Beaches and Hong Kong Disneyland.

Explore our diverse range of IT courses, encompassing programming, software development, cyber security, data science, business skills, and Agile/Scrum. Wherever you are in Hong Kong, our seasoned instructors will bring practical training and expert knowledge to your preferred training venue.
By using this website you agree to let us use cookies. For further information about our use of cookies, check out our Cookie Policy.