NMP 8-2: NULL in Kotlin

preview_player
Показать описание
Since we will be dealing with null values more often when creating Fragments, let's learn about null in Kotlin. We will learn about the spirit behind the default non-nullable data types in Kotlin and how to actually allow null values, the safe call operator (?.), Elvis operator (?:), non-null assertion operator (!!), as well as let scope function with regard to safe calls.

If you have mastered these, you may continue to the next video in the playlist.

Chapters
00:00 Introduction
03:55 Nullable data types
05:17 Null checking
09:05 Safe call (?.)
12:30 Elvis operator (?:)
17:35 Non-null assertion operator (!!)
21:45 let block and safe call

Online course for Native Mobile Programming
Week 8 Odd Semester AY 2021/2022
Information Technology & Informatics program
Department of Informatics - Faculty of Engineering
University of Surabaya
#UBAYAforIndonesia

Intro & Outtro: TheFatRat & Laura Brehm - We'll Meet Again
Рекомендации по теме