Another Learning Kotlin tutorial for beginners. Helping you learn Kotlin 1 small tutorial at a time.
In this Kotlin tutorial, you learn how to write 'while loops' and 'do while loops' . You'll see how to use the 'repeat' function to quickly iterate N number of times, and you'll learn how you can use IntRanges, the 'until' and 'downTo' infix functions, and the 'step' function to control how 'for loops' operate.
0:47 - Repeat function
3:06 - for loop using 'until'
4:00 - for loop using '..' range shorthand
5:39 - for loop using 'step' function to control how counter is incremented
6:40 - for loop using 'downTo' function to iterate backwards
8:35 - While loop
9:35 - Do-While loop
#AndroidDev #AndroidDeveloper #Kotlin
Thanks for watching!
Questions about iteration in Kotlin? Let me know in the comments 🙂
🔔 Subscribe to My Channel ➡️ / @goobar
---
💡More Kotlin Resources:
📖Kotlin for Android Developers
https://transactions.sendowl.com/stor...
🖥JetBrains certified online course: Kotlin for Android Developers
https://transactions.sendowl.com/stor... (affiliate link)
📚More Kotlin Books
Kotlin In Action - https://amzn.to/2DJxlsL (affiliate link)
https://www.amazon.com/shop/n8ebel?li... (affiliate link)
📹Free Course From Udacity
https://www.udacity.com/course/kotlin...
---
🎒Check out books & gear that have helped me out
https://www.amazon.com/shop/n8ebel
---
🙂 Follow Me Online
twitter ➡ / n8ebel
website ➡ https://goobar.io
instagram ➡ / goobar_io
youtube ➡ / @goobar
ℹsome links direct to affiliate sites
On this page of the site you can watch the video online Learning Kotlin: Using 'while loops', IntRanges, and the 'repeat' Function with a duration of hours minute second in good quality, which was uploaded by the user goobar 19 February 2019, share the link with friends and acquaintances, this video has already been watched 1,540 times on youtube and it was liked by 36 viewers. Enjoy your viewing!