Kotlin: Developing Android Applications
Mobile applications must turn a need into an experience that works in real-world conditions. Structure design, interactions and behaviour to prepare Android development effectively. Build the independence to create and evolve applications suited to mobile use.
- Duration
- 3 days 21 hours
- Code
- KOT01FR Code
Presentation
Kotlin is an object-oriented and functional programming language created by JetBrains in 2011. It has become a reference for professional Android application developers. Many companies have adopted this lightweight, continually evolving language.
This course is designed for developers who want to learn Kotlin. It begins with an overview of the language's features and tools, helping you get started confidently. You will then write your first program before progressing to object-oriented code.
Finally, you will explore Kotlin's built-in safety features, null handling, destructuring and unit testing. By the end, you will be able to create Android applications or services using the latest version of Kotlin.
Objectives
- Understand and use Kotlin's full range of features.
- Write sound object-oriented Kotlin code.
- Master lambdas and advanced functions to produce readable, reusable, high-quality code.
- Use Java code with Kotlin to write unit tests.
- Write production-quality Kotlin code for microservices.
- Call Kotlin from a Java library.
- Develop native Android applications with Kotlin.
Program
Getting started with Kotlin
- Installing the integrated development environment (IDE).
- First steps with Kotlin syntax.
- Kotlin coding standards.
Kotlin fundamentals
- Basic Kotlin types.
- Kotlin variables.
- Type inference.
- Control structures.
Object-oriented programming with Kotlin
- Class inheritance.
- Class properties and types.
- Interfaces.
- Forms of polymorphism.
- Kotlin extensions.
- Data classes.
- Class type parameters.
- Enum classes.
- Sealed classes.
- Object expressions and declarations.
Kotlin functions and lambdas
- Functions and their properties.
- Lambda expressions.
Advanced Kotlin programming
- Destructuring methods.
- The collections library.
- Ranges.
- Object conformance.
- This expressions.
- Structural and referential equality.
- Operator overloading.
- Null safety features.
- Kotlin exception classes.
- Coroutines.
Kotlin and Java interoperability
- Calling Java from Kotlin.
- Calling Kotlin from Java.
Unit testing with Kotlin
- Using Mockito in Kotlin.
- Kotlin matchers.
- Testing expected exceptions.
- Matcher exception errors.
- Custom matchers.
- Debugging information.
Audience
- Lead developers.
- Software development project managers.
Prerequisites
- Knowledge of Java or object-oriented programming.
- Ability to use a Java Virtual Machine (JVM) runtime environment.
Teaching and assessment methods
- Initial skills assessment
- Training materials provided to participants
- Continuous assessment throughout the course
- End-of-course feedback questionnaire
- Combination of theory and practical application
- Attendance records
- Post-course follow-up evaluation
Dates and sessions
Choose the date and delivery format that suit you.
No upcoming sessions are currently available.
fr
en