Learning Kotlin: Using For Loops

https://youtu.be/9j7lQhMl3Lc Another Learning Kotlin tutorial for beginners. Helping you learn Kotlin 1 small tutorial at a time. In this video, you'll learn the basics of Kotlin for loops, and see 6 different variations of using for loops in Kotlin. 📚 Reference Documentation // basic for loop fun printNames(names: Array<String>) { for(name in names) { println(name) … Continue reading Learning Kotlin: Using For Loops

Learning Kotlin: Using ‘if’ Expressions

https://youtu.be/0w3r01lsN-w Another Learning Kotlin tutorial for beginners. Helping you learn Kotlin 1 small tutorial at a time. In this video, you'll learn how to use if expressions and how to use if for logical control flow. // basic control flow using if/else fun printGreeting(name:String) { if(name.isNotBlank()) { println("hello $name") } else { println("hey there!") } … Continue reading Learning Kotlin: Using ‘if’ Expressions

Learning Kotlin: How to Write a Single Expression Function in Kotlin

https://youtu.be/oTJCEWjSAmY In this video, you'll learn how to write a Single Expression Function in kotlin 📚 Reference Documentation: https://kotlinlang.org/docs/reference/functions.html#single-expression-functions Thoughts or questions about single expression functions? Comment below or share on social media. I’d love to continue the conversation. I love to meet/talk/discuss and help where I can. If you want to chat or ask … Continue reading Learning Kotlin: How to Write a Single Expression Function in Kotlin

Learning Kotlin: Learn to Write a Basic Kotlin Function

https://www.youtube.com/watch?v=XOlYLjA0mUQ Another Learning Kotlin tutorial for beginners. Helping you learn Kotlin 1 small tutorial at a time. In this video, you'll learn Kotlin function basics. We'll walk through how to write a basic Kotlin function and look at the 'fun' keyword, function names, and defining your function body.  📚Reference: https://kotlinlang.org/docs/reference/functions.html I love to meet/talk/discuss and help … Continue reading Learning Kotlin: Learn to Write a Basic Kotlin Function

Learning Kotlin: ‘lateinit’ Modifier

https://www.youtube.com/watch?v=Qs7MDsrbec0 This Kotlin tutorial explores the lateinit modifier and gives several examples of how you can use lateinit in Android or other Kotlin projects. lateinit allows you to defer initialization of non-null values so they can still be defined as non-null, but can be assigned later as in many dependency injection or test frameworks. ex: … Continue reading Learning Kotlin: ‘lateinit’ Modifier