- 26
- 99 828
Lukas Lechner - Advanced Android Development
Austria
เข้าร่วมเมื่อ 7 พ.ย. 2013
Hi!
I am Lukas, a professional Android Developer currently working as a Freelance Developer.
On this channel, you will find a lot of videos around advanced Android development topics.
I hope you get some value out of them.
I am Lukas, a professional Android Developer currently working as a Freelance Developer.
On this channel, you will find a lot of videos around advanced Android development topics.
I hope you get some value out of them.
Kotlin Flow for Android Development Crash Course
🎓 Get the full 15+ hour-long Course "Kotlin Coroutines and Flow for Android Development" with a nice discount here: www.lukaslechner.com/coroutines-flow-android?source=youtube
👨🎓 Here is the link to the Github Example Repository: github.com/LukasLechnerDev/Kotlin-Coroutine-Use-Cases-on-Android
In this crash course, you will learn the basics of using Kotlin Flows in Android Applications.
TimeStamps:
00:00 Section Introduction
02:25 What is a Flow?
17:05 Reactive Programming
20:52 Starting our first Flow Use Case
30:42 Basic Flow Builders
43:22 Exposing a Flow in our DataSource
50:40 Displaying the stock list on the screen
53:40 Basic Terminal operators
01:11:00 Terminal operator "launchIn"
01:20:10 Using "launchIn()" in UseCase1
01:22:28 Lifecycle Operators
01:37:15 Terminal operator "asLiveData"
02:01:12 Basic Intermediate Operators
02:18:28 Exercise: Intermediate Operators
02:24:10 Exercise Solution
02:40:22 Section Recap
➤ Subscribe to the channel: th-cam.com/channels/r9FeEqCspjGTiOc3HplCqw.html
🌎 Check out my website: www.lukaslechner.com
📬 Subscribe to my newsletter: www.lukaslechner.com/newsletter/
➤ Follow me on twitter: LukasLechnerDev
👨🎓 Here is the link to the Github Example Repository: github.com/LukasLechnerDev/Kotlin-Coroutine-Use-Cases-on-Android
In this crash course, you will learn the basics of using Kotlin Flows in Android Applications.
TimeStamps:
00:00 Section Introduction
02:25 What is a Flow?
17:05 Reactive Programming
20:52 Starting our first Flow Use Case
30:42 Basic Flow Builders
43:22 Exposing a Flow in our DataSource
50:40 Displaying the stock list on the screen
53:40 Basic Terminal operators
01:11:00 Terminal operator "launchIn"
01:20:10 Using "launchIn()" in UseCase1
01:22:28 Lifecycle Operators
01:37:15 Terminal operator "asLiveData"
02:01:12 Basic Intermediate Operators
02:18:28 Exercise: Intermediate Operators
02:24:10 Exercise Solution
02:40:22 Section Recap
➤ Subscribe to the channel: th-cam.com/channels/r9FeEqCspjGTiOc3HplCqw.html
🌎 Check out my website: www.lukaslechner.com
📬 Subscribe to my newsletter: www.lukaslechner.com/newsletter/
➤ Follow me on twitter: LukasLechnerDev
มุมมอง: 4 608
วีดีโอ
How to handle Backpressure aka BufferOverflows | Kotlin Flow for Android Development
มุมมอง 1.4Kปีที่แล้ว
🎓 Get the full 15 hour-long Course "Kotlin Coroutines and Flow for Android Development" with a nice discount here: www.lukaslechner.com/coroutines-flow-android?source=youtube 👨🎓 Here is the link to the Github Example Repository: github.com/LukasLechnerDev/Kotlin-Coroutine-Use-Cases-on-Android In Kotlin Flows, if the producer is emitting items faster than the collector can process them, we get ...
Concurrent Flows with the buffer operator | Kotlin Flow for Android Development
มุมมอง 1.4Kปีที่แล้ว
🎓 Get the full 15 hour-long Course "Kotlin Coroutines and Flow for Android Development" with a nice discount here: www.lukaslechner.com/coroutines-flow-android?source=youtube 👨🎓 Here is the link to the Github Example Repository: github.com/LukasLechnerDev/Kotlin-Coroutine-Use-Cases-on-Android By default, the execution of a Flow is sequential, since the producer and the collector code run in th...
map, filter, take, drop, transform, withIndex, dictinctUntilChanged | Kotlin Flow for Android Dev
มุมมอง 1.4Kปีที่แล้ว
🎓 Get the full 15 hour-long Course "Kotlin Coroutines and Flow for Android Development" with a nice discount here: www.lukaslechner.com/coroutines-flow-android?source=youtube 👨🎓 Here is the link to the Github Example Repository: github.com/LukasLechnerDev/Kotlin-Coroutine-Use-Cases-on-Android Intermediate operators are executed for every emission of the flow and return a new, transformed flow....
How does the .asLiveData() operator work? Kotlin Flow for Android Development
มุมมอง 1.5Kปีที่แล้ว
🎓 Get the full 15 hour-long Course "Kotlin Coroutines and Flow for Android Development" with a nice discount here: www.lukaslechner.com/coroutines-flow-android?source=youtube 👨🎓 Here is the link to the Github Example Repository: github.com/LukasLechnerDev/Kotlin-Coroutine-Use-Cases-on-Android This video explains the differences between the asLiveData operator compared to the collect and launch...
onStart & onCompletion Lifecycle Operators | Kotlin Flow for Android Development
มุมมอง 1.6K2 ปีที่แล้ว
🎓 Get the full 15 hour-long Course "Kotlin Coroutines and Flow for Android Development" with a nice discount here: www.lukaslechner.com/coroutines-flow-android?source=youtube 👨🎓 Here is the link to the Github Example Repository: github.com/LukasLechnerDev/Kotlin-Coroutine-Use-Cases-on-Android In this video, you will learn all about the lifecycle operators "onStart" and "onCompletion". With the...
launchIn VS collect | Kotlin Flow for Android Development
มุมมอง 2.1K2 ปีที่แล้ว
🎓 Get the full 15 hour-long Course "Kotlin Coroutines and Flow for Android Development" with a nice discount here: www.lukaslechner.com/coroutines-flow-android?source=youtube 👨🎓 Here is the link to the Github Example Repository: github.com/LukasLechnerDev/Kotlin-Coroutine-Use-Cases-on-Android The terminal operator that we now cover in this lesson is called launchIn. And this one is quite diffe...
collect(), first(), last(), single, toSet, toList, fold, reduce | Terminal operators in Kotlin Flow
มุมมอง 1.9K2 ปีที่แล้ว
🎓 Get the full 15 hour-long Course "Kotlin Coroutines and Flow for Android Development" with a nice discount here: www.lukaslechner.com/coroutines-flow-android?source=youtube 👨🎓 Here is the link to the Github Example Repository: github.com/LukasLechnerDev/Kotlin-Coroutine-Use-Cases-on-Android We need to use terminal operators in order to execute a flow and to receive the values that the flow e...
Creating Flows from Scratch with Flow Builders | Kotlin Flow for Android Development
มุมมอง 2K2 ปีที่แล้ว
🎓 Get the full 15 hour-long Course "Kotlin Coroutines and Flow for Android Development" with a nice discount here: www.lukaslechner.com/coroutines-flow-android?source=youtube 👨🎓 Here is the link to the Github Example Repository: github.com/LukasLechnerDev/Kotlin-Coroutine-Use-Cases-on-Android In this lecture, you are now going to learn how to create new flows from scratch by using one of the m...
What Is a Flow? | Kotlin Flow for Android Development
มุมมอง 6K2 ปีที่แล้ว
🎓 Get the full 15 hour-long Course "Kotlin Coroutines and Flow for Android Development" with a nice discount here: www.lukaslechner.com/coroutines-flow-android?source=youtube 👨🎓 Here is the link to the Github Example Repository: github.com/LukasLechnerDev/Kotlin-Coroutine-Use-Cases-on-Android A Flow is a type in the Kotlin Coroutine Library which was introduced in 2019. A flow represents “a st...
Coroutines Course Update: Kotlin Flow
มุมมอง 7622 ปีที่แล้ว
🎓 Get the full 15 hour-long Course "Kotlin Coroutines and Flow for Android Development" with a nice discount here: www.lukaslechner.com/coroutines-flow-android?source=youtube I released an extension about "Kotlin Flow" for my "Kotlin Coroutines and Flow for Android" course! New content: - Flow Basics - Reactive Programming - Flow Builders - Flow Operators (lifecycle operators, intermediate oper...
Best Practices for using Kotlin Coroutines in Android Development
มุมมอง 3.6K2 ปีที่แล้ว
🎓 Get the full 15 hour-long Course "Kotlin Coroutines and Flow for Android Development" with a nice discount here: www.lukaslechner.com/coroutines-flow-android?source=youtube In this video, I am going to show you 6 of the most important Best practices when using Kotlin Coroutines in your Android Applications. By following these Best Practices, you will greatly improve your Coroutine-based code....
How to avoid 5 common Kotlin Coroutine mistakes
มุมมอง 5K2 ปีที่แล้ว
🎓 Get the full 15 hour-long Course "Kotlin Coroutines and Flow for Android Development" with a nice discount here: www.lukaslechner.com/coroutines-flow-android?source=youtube In this video, I am going to show you 5 of the most common mistakes when using Kotlin Coroutines, so that you don’t make them in your applications. 👨🎓 Learn Coroutines and Flow with my Github Example Repository: github.co...
Exception Handling in Kotlin Coroutines EXPLAINED
มุมมอง 5K4 ปีที่แล้ว
🎓 Get the full 15 hour-long Course "Kotlin Coroutines and Flow for Android Development" with a nice discount here: www.lukaslechner.com/coroutines-flow-android?source=youtube 💥 Coroutine Exception Handling Cheat Sheet: www.lukaslechner.com/coroutines-exception-handling-cheat-sheet/ Getting the “happy path” right with Kotlin Coroutines is pretty straightforward. On the other hand, handling excep...
🚀 My new course "Mastering Kotlin Coroutines for Android Development" is now available!
มุมมอง 1.1K4 ปีที่แล้ว
🎓 Get the full 15 hour-long Course "Kotlin Coroutines and Flow for Android Development" with a nice discount here: www.lukaslechner.com/coroutines-flow-android?source=youtube ➤ Subscribe to the channel: th-cam.com/channels/r9FeEqCspjGTiOc3HplCqw.html 🌎 Check out my website: www.lukaslechner.com 📬 Subscribe to my newsletter: www.lukaslechner.com/newsletter/ 👨🎓 Learn Coroutines and Flow with my ...
How delay() works - Kotlin Coroutines on Android Fundamentals Part 7
มุมมอง 2.4K4 ปีที่แล้ว
How delay() works - Kotlin Coroutines on Android Fundamentals Part 7
Routines and Coroutines - Kotlin Coroutines on Android Fundamentals Part 1
มุมมอง 3.9K4 ปีที่แล้ว
Routines and Coroutines - Kotlin Coroutines on Android Fundamentals Part 1
Internal Workings - Kotlin Coroutines on Android Fundamentals Part 6
มุมมอง 1.5K4 ปีที่แล้ว
Internal Workings - Kotlin Coroutines on Android Fundamentals Part 6
Suspend Functions - Kotlin Coroutines on Android Fundamentals Part 2
มุมมอง 1.8K4 ปีที่แล้ว
Suspend Functions - Kotlin Coroutines on Android Fundamentals Part 2
Coroutine Scopes - Kotlin Coroutines on Android Fundamentals Part 10
มุมมอง 1.1K4 ปีที่แล้ว
Coroutine Scopes - Kotlin Coroutines on Android Fundamentals Part 10
Multithreaded Coroutines - Kotlin Coroutines on Android Fundamentals Part 5
มุมมอง 1.2K4 ปีที่แล้ว
Multithreaded Coroutines - Kotlin Coroutines on Android Fundamentals Part 5
Blocking VS Suspending - Kotlin Coroutines on Android Fundamentals Part 4
มุมมอง 1.6K4 ปีที่แล้ว
Blocking VS Suspending - Kotlin Coroutines on Android Fundamentals Part 4
Structured Concurrency - Kotlin Coroutines on Android Fundamentals Part 9
มุมมอง 1.8K4 ปีที่แล้ว
Structured Concurrency - Kotlin Coroutines on Android Fundamentals Part 9
Coroutine Dispatchers - Kotlin Coroutines on Android Fundamentals Part 8
มุมมอง 1.5K4 ปีที่แล้ว
Coroutine Dispatchers - Kotlin Coroutines on Android Fundamentals Part 8
Coroutines VS Threads - Kotlin Coroutines on Android Fundamentals Part 3
มุมมอง 4K4 ปีที่แล้ว
Coroutines VS Threads - Kotlin Coroutines on Android Fundamentals Part 3
How to detect and fix Memory Leaks on Android with Android Studio
มุมมอง 40K4 ปีที่แล้ว
How to detect and fix Memory Leaks on Android with Android Studio
Great explanation. Thanks a lot.
This tutorial was very helpful, I solved a lot of my coding problems regarding flows just by watching and understanding this tutorial.
you didn't add the link when the jetbrain's techlead explains the coroutines
not gonna lie, this is hands down the worst tutor on Kotlin Flow.
A perfectly clear explanation
please post new videos ❤
Hello, amazing content, please don't stop doing videos!
thank you, very helpful video
Informative
You forgot to add the link to the article we can refer for further information.
th-cam.com/video/YrrUCSi72E8/w-d-xo.html&ab_channel=JetBrains
It's also worth mentioning that we are also able to use the Flow<T>.flowWithLifecycle() operator.
@40:55 you're saying the coroutineScope function would rethrow the exception, what would happen if you wrapped launch inside another function, which does not rethrow the exception ? Crash or would that part be silently ignored ?
This playlist was very helpful for me; I'm now using flow operators more often for my reactive operations
These are very great series, thank you soo much for sharing these gems with us <3 Just one correction, launchIn is indeed nothing but a syntactic sugar. In the demonstration, collect operators were used in one coroutine to compare, which is not even comparison. Instead, not using launchIn gives us more control.
please post new videos, your videos besides form being very useful, are also fun to watch
Спасибо за видео ! Очень полезно было посмотреть !
simple yet helpfull! thanks
This is actually one of your best video. Simple but very deep understanding of coroutine :)
You're one of the legend in Android domain ❤ Thanks
Pancake cooking is a great example to explain the buffer
I like the explanation of the Kotlin function, thank you👍
thanks for shared it
will the coroutine exception handler rethrow the cancellation exception?
Nice🎉
Nice👏🏻👏🏻👏🏻
Thank you for your lectures
Helpful
Awesome!!. very nicely and deeply explain
Undoubtedly, the most exceptional online course on flows and coroutines that exists.
superb, thanks aaa lottt :D love from India
Worst audio quality of all the udemy course I have taken! Adding too much bass is not cool !!! Listen yourself in 2x it's not voice its just bassy boom boom ! 👎👎👎
Thanks for a video👍
Please create new course where all these concepts are used along with Jetpack compose
Great beginner course, would love to see an example with daos/repos that manage the data or a single manager that grabs the information so that multiple screens/composables could utilize the data instead of just one. Just a thought
🎓 Get the full 15+ hour-long Course "Kotlin Coroutines and Flow for Android Development" with a nice discount here: www.lukaslechner.com/coroutines-flow-android?source=youtube
I like this course so much. Do you have any plans for Jetpack compose course in the future?
🎓 Get the full 15+ hour-long Course "Kotlin Coroutines and Flow for Android Development" with a nice discount here: www.lukaslechner.com/coroutines-flow-android?source=youtube
very good understanding given , thank you
🎓 Get the full 15+ hour-long Course "Kotlin Coroutines and Flow for Android Development" with a nice discount here: www.lukaslechner.com/coroutines-flow-android?source=youtube
How would you implement the same behavior purely with Flow without LiveData?
By using StateFlows instead of LiveData
Maybe you want to explain the transition in a video, also emphasizing how to handle commonly used classes such as SingleLiveEvent.
@@lukaslechner a video on stateFlows would be very much appreciated ps love your content and way of teaching today evening i was feeling down ur lectures made it better thankyou <3
🎓 Get the full 15+ hour-long Course "Kotlin Coroutines and Flow for Android Development" with a nice discount here: www.lukaslechner.com/coroutines-flow-android?source=youtube
🎓 Get the full 15+ hour-long Course "Kotlin Coroutines and Flow for Android Development" with a nice discount here: www.lukaslechner.com/coroutines-flow-android?source=youtube
Nice, are you going to keep it updated in the future?
@@mateuszb3814 Yes, I try to keep it up2date
Thanks a lot! Your course is the best I've ever seen on the web on Coroutines topic!
👍Thank you for your kind words, Volodymyr!
I have a question, why are you still using LiveData and not the StateFlow? Is there a specific reason for it?
In a lesson later in the course I will convert LiveData to StateFlow and talk about the benefits of it. If you are already familiar with LiveData, then there is no big benefit of using StateFlows except for having only a single type for an observable data holder.
🎓 Get the full 15+ hour-long Course "Kotlin Coroutines and Flow for Android Development" with a nice discount here: www.lukaslechner.com/coroutines-flow-android?source=youtube
🎓 Get the full 15+ hour-long Course "Kotlin Coroutines and Flow for Android Development" with a nice discount here: www.lukaslechner.com/coroutines-flow-android?source=youtube
🎓 Get the full 15+ hour-long Course "Kotlin Coroutines and Flow for Android Development" with a nice discount here: www.lukaslechner.com/coroutines-flow-android?source=youtube
🎓 Get the full 15+ hour-long Course "Kotlin Coroutines and Flow for Android Development" with a nice discount here: www.lukaslechner.com/coroutines-flow-android?source=youtube
Google needs to use these methods to fix the memory leaks in the TH-cam Android app. Crashes every evening, after getting laggy and tetchy for a few minutes. Or perhaps they need to find leaks and fragmentation within Android itself. YT clearly degrades after a day or so of use. Works great after I kill and restart it. Classic leak behaviour, memory or some other resource, but it may be in support libraries an not the app itself. Lame.
Such a nice course😍😍
Hi having quick doubt… you adding runblocking right? Then is it will run on mainthread or its only block mainthread untill calculation finish…
Hi! I use runblocking in order to be able to start a new coroutine with launch. In this coroutine, items of the flow are collected and yes, this happens on the Main Thread. However, the main thread is not blocked but only suspended while the collection happens, so this is not an issue.