Kotlin Flows in a Nutshell
ฝัง
- เผยแพร่เมื่อ 5 พ.ย. 2020
- In this video you will learn everything about flows in Kotlin that you need to know.
⭐ Get certificates for your future job
⭐ Save countless hours of time
⭐ 100% money back guarantee for 30 days
⭐ Become a professional Android developer now:
pl-coding.com/premium-courses...
Regular Android tutorials on my Instagram: / _philipplackner_
Checkout my GitHub: github.com/philipplackner
Your basic videos are almost always enough to keep me going on my huge project. Thanks a bunch
Thanks for the tutorial, can you make a video with comparing Flow vs StateFlow vs SharedFlow?
You are the only one on TH-cam Providing In-Depth Knowledge for Android App Development Using Kotlin and it really helped bro 😍🙏
Thank you very much for this video. I've always used flow but I didn't really understand how it worked, now it's all clearer!
Really easy to understand.. you woudln't know how much I appreciate you by this tutorial. Thx alot!
Fantastic explanation! I finally get back pressure! Thank you so much.
Good as always. Hope you keep producing such content to educate us. Thanks!
You are my go to teacher when it comes to Kotlin and android ....Good job
Thanks for this - very good demonstration.
Very good explanation Phil!
Kotlin makes it so easy. Great video!
Amazing as always thanks!
Thanks for the video!
simple and excellent as usual
Thanks dear Philipp , that was very good tutorial
Thank you, great explaining
Thanks for this quality content.
Nice video man, i really hope you make kotlin flow as a series with depth explanation and example project
That's what I do in my Ktor course on pl-coding.com for caching
when its Kotlin and Android development learning, you are next to God.
Thanks a lot man!
Yesss🥺
Couldn't have said it any better. Amazing.
Awesome broth keep inspiring us through ur code
"Flows are like LiveData on steroids!" hahhahah nailed it! Loved it
thnx, as always top!
The Greek God (exept he's German, I would suspect, from his accent) of consise, incredibly informative Android tutorials for devs at any level. This guy is literally making me $$$. Thank you!
you made flow very easy ,, thanks
great video man , keep it up
Thanks, will do!
So we are waiting for a WebSocket with Flows lesson (and especially how to get informed about the end-points disconnection, or a ping-pong mechanism) from you..!!! :) :) :)
Thanks!!!
Great 👍
an amazing video , tnx
Thanks a lot
Liked your content.
Flow is like design patterns. It's not so easy to understand how it works. The hard part is to understand when to use them.
well not really, just use it as a replacement of live data, pretty straight forward
Very nice. Maybe you can use this to your next tutorial. 😉
I'm your fan ♥️
life saving
thanks
how did you get the rainbow logcat, is that a plugin or you manually configured it?
Yes. Rainbow Brackets is the plugin
Are u planing a mvi tutorial with retrofit and flow too? =)
Whenever I have any doubts I type philip lanker the concept name.
Hi, your explanation is so good and details, I might consider to subscribe to your course :)
One question is that what plugin you used for your logcat?
And also recently I working with paging3 Android, maybe you can consider to work on a tutorial on that
Thanks! That's not a plugin, just press Ctrl+Alt+S to open settings and search for logcat. There you can change the colors
thanks! How do you get colorful log like in 6:50 ?
'emit' and 'collect' reminds me with Plant vs Zombie, where we have to collect sunlight emitted from sunflowers.
hahaha yea
Great, thanks. How is flow comparing to rx.java?
From where do you learn these new concepts?
if i wish to build a Tic Tac Toe game that requires the user to click a box and make his turn every 30 seconds ( at the max ), then is using firebase cloud firestore better or i need to use a websocket for this stuff ? ( i mean for sending and receiving what the other user clicked in his turn )
I'd use websockets, with firebase it's hardly possible to do something based on time
Hi Philips, can you explain about gradle build, and which one to use? i always got error there but the code is fine :(
thanks fleep
Philipp, which thread this flow coroutine run? Can I define dispatcher with this flow? How to manage that?
flow.flowOn(yourDispatcher)
Which plugin have you used for colorful logs in Logcat?
No plugin, just Android Studio settings
@@PhilippLackner Got it. Thanks.
@@PhilippLackner how
Hii nicely explained
I'd like to say one thing though i.e. when you say they both are running in the same Coroutines, it's not true. Flow builder has its own Coroutine and Global scope.launch has its own Coroutine.
next stateFlow and sharedFlow please
Hi Philipp - Could you please make one video on Android KTX... thanks in Advance.
do you have course for android development with kotlin (in udemy or so), where we can find content in proper arranged manned , so that learning would be easy and in proper curve ?
I have premium courses on my website pl-coding.com, check it out :) Within the next week I'll publish a new course about making a social network android app using Kotlin and Firebase
@@PhilippLackner
Please, make it free
I will be grateful to you...
I have a passion for learning Android
...
Make great use of your channel
@@l00ai it won't be free, it will provide you great value. If you're only looking for free content then I have more than enough on TH-cam here
Reminds me of Flutter Stream Builder
This looks similar to RxJava Observable and Observer
It is, but based on coroutines
so flow acts as both observable or flowable and observer or subscriber
What about this drawing game with web sockets you talked about? Will you publish it as a playlist?
No but I might publish it to playstore
@@PhilippLackner okay, a tutorial about Scarlet with use of any web socket would be also interesting
So it's basically channels from Go. They are also implemented in C# BTW :P and pretty much every other language
Can you create Kotlin Multiplatform tutorials?
So you were working on DoodleKong from October 2020 or before... WOW
I don't know about the "they are basically LiveData on steroids" part.
It's not exactly the same thing and saying that they are very similar might bring some confusion on the topic.
I think making sure that people understand the use case for each one of these is important, especially as we all move away from LiveData into the Flow (SharedFlow, StateFlow) world.
Yes, I meant that flows can be a full replacement for livedata, but not the other way around. LiveData is used to represent UI state and flows can do that as well, but can also handle network calls and other suspending functionality
I dont know what to type, but i have to comment
I looking for this tutorial , can you make tutorial about channel also
Noted
How to you make logcat with colors and not print all android bullshit like in your android studio?
you can change it in the settings
How
@@PhilippLackner howwww
@@yasminedwedar8651 in the settings search 'logcat' and change colors
hi
you're the real android god
Just like rxJava
yes but with coroutines
and yeah the beards :)
ko-rutihn nicht kuh-rutihn, wie in collaborate. Ansonsten top-notch work dude!
For any non-native-English-speakers: This weird word he is using is "coroutines" :-) I am really not used to hear this word...
Philips must be in love with Indians as most views are from Indian only😂
If 10 guys ring on your door, are you in love with guys then?
live data on steroids hhahaha