Repo luyện tập kiến thức Kotlin cơ bản từ syntax đến coroutines.
- Variables & Constants (
var
,val
) - Data Types:
Int
,String
,Boolean
,Double
... - Operators & Type Casting
- String Templates:
"Hello, $name"
if-else
,when
statements- Loops:
for
,while
,do-while
List
,Set
,Map
- Functions:
map()
,filter()
,forEach()
...
- Regular & single-expression functions
- Extension functions
- Default parameters
- Nullable types (
?
) - Safe calls (
?.
), Elvis operator (?:
)
- Classes, Objects, Inheritance
- Data classes, Interfaces
- Companion objects
- Lambda expressions:
{ x, y -> x + y }
- Higher-order functions
suspend
functionslaunch
,async
- Dispatchers & Scopes
- Sealed classes, Generics
- Reflection, DSL