Agreed. A small t-shirt microphone would make a great change.
@sevarbg833 жыл бұрын
We need an official google's opinion on replacing livedata with stateflow. Please.
@RaviTejagameboy3 жыл бұрын
@@sevarbg83 They have already added databinding support for Stateflow in canary version.
@theai20202 жыл бұрын
Yes its hard to catch up sometime
@abu-bakrpereirakebe5082 жыл бұрын
Rewrote the entire application to use flow and greatly improved performance. Great video.
@juanf.mateosredondo8830 Жыл бұрын
Thanks, Manuel. Now I can go with the flow as Queen of the Stone Age does.
@StevdzaSan3 жыл бұрын
Good explanation 👏
@rajbopche79922 жыл бұрын
Since flow are executed in the same context we called collect from, the video example fetches the latest news on the main thread. In-order to transfer fetch the latest news to the worker/IO thread we can make use of flowOn() intermediate operator. For details please check out the Android docs on Kotlin Flow (section - Executing in different coroutine context)
@donellmtabvuri13233 жыл бұрын
This is a very good explanation, the LiveData and Flow codelab was challenging for me and this just cleared up all the frustration I was having using Flow, gracias!!
@hessamemami69363 жыл бұрын
Great talk, It would be awesome if you also make a video about Stateflow
@annavonvornewievonhintengleich3 жыл бұрын
Thx Google. Whats the defference to LiveData?
@ArjunVerma-lq4cf3 жыл бұрын
Great video, I didn't understand the firebase part in the doc but in this video, I know now what it is, and also it is a good idea to explain the same code in video and doc, Keep up the good work!
@erictsang03 жыл бұрын
Great explanation with lots of relatable examples!!! Replacing LiveData with Flow in my side project haha
@alexandrebrownAI3 жыл бұрын
Consider trying .asLiveData() when consuming a Flow, this way you get the added benefits of LiveData together with Flows
@dreamerslab2 жыл бұрын
So flow is a stream of data in which we can emit new data. Cool
@mehulbisht97083 жыл бұрын
Thanks for the explanation Manuel !
@soumen_pradhan Жыл бұрын
Why does it feel like they removed callback hell using suspend functions and then added it right back using callbackFlow,
@maartentrompper96183 жыл бұрын
Flow is pretty cool, but I find it quite difficult to manage coroutine contexts when making Flow into a StateFlow -- and unsure what the heck is going on. It would be nice to get some easy-to-understand resources about this.
@ssverma19163 жыл бұрын
Nice, Now waiting for the state and shared flow video ...
@pushpitakarmakar742510 ай бұрын
Doesn't this use case of making requests in fixed intervals fall under a WorkManager?
@PedroBarbosaRoman3 жыл бұрын
Duration of video: 13:37 :)
@ismailnurudeen3 жыл бұрын
Amazing, I'm replacing RxJava in our current project with Flows.
@jess_o3 жыл бұрын
Great video, thank you
@samuelho6658 Жыл бұрын
Since flows can be active over a long period of time, does that mean that they should be called from the IO dispatcher? ie. In the first example, there is a while loop in the flow. Would that result in useless work being done / a coroutine being active when it's not needed for most of the time?
@ctarabusi3 жыл бұрын
In 4:36 should be while(isActive) to stop emitting when the coroutine scope is cancelled?
@withKaaveh3 жыл бұрын
Wow! Flow is very amazing!
@yoyochoo3 жыл бұрын
Good guide
@jakubwegrzyn37983 жыл бұрын
How about integration with jetpack compose? Is there any?
@UCjNrKLyRJI-abFA8qiNo92Q3 жыл бұрын
@Artem Zanin this question was marked as a duplicate just kiddin
@mnouman67363 жыл бұрын
this was helpful.
@YoutCodeProgrammingTutorials3 жыл бұрын
can I ask u what tool u are using to make this great presentations !?
@jaya-surya-t3 жыл бұрын
CallbackFlow is still under "ExperimentalCoroutinesApi" right ?, any ideas on when it would be promoted to completely stable ?
@pantelischas94603 жыл бұрын
great video!!!
@70ME3E3 жыл бұрын
well delivered Manuel! :)
@user-oc7py1vy6s3 жыл бұрын
Thanks.
@goutham24333 жыл бұрын
Not able to catch your Flow
@leileiliulei61503 жыл бұрын
Good
@jesselima_dev3 жыл бұрын
Awwwwwesome!!!! clapclapclapclapclapclapclapclap
@Wi1dLife3 жыл бұрын
So the Flow is another LiveData...
@codinginflow3 жыл бұрын
It's better than LiveData because it can hold more than 1 value
@Wi1dLife3 жыл бұрын
@Artem Zanin *Flowable 😁
@alexconner39583 жыл бұрын
@Artem Zanin pls no
@withKaaveh3 жыл бұрын
@@codinginflow We will wait for another playlist of your channel for using Flow in a sample app 😄
@maskedredstonerproz3 жыл бұрын
@@codinginflow so basically LiveData on steroids??