Kotlin Flows in practice

preview_player
Показать описание
With coroutines as the recommended solution for asynchronous operations, Kotlin Flow is the obvious choice for managing streams of data in Android apps. However, there are some lifecycle perils to consider and new lifecycle-aware APIs to understand in order to get the most out of Flows in Android. Learn about the powerful and expressive Flow APIs and how to use them across all layers of your app in a practical way—solving common use cases every developer can face.

Resources:

Speakers:
Manuel Vicente Vivo, Jose Alcérreca

Watch more:

#AndroidDevSummit, #Kotlin #Featured #Latest

product: Android - Languages; event: Android Dev Summit 2021; fullname: Manuel Vicente Vivo, Jose Alcérreca; re_ty: Publish;
Рекомендации по теме
Комментарии
Автор

Wow. Its really amazing to see coroutine has evolved in different level now a days. Kudos to the team🙌🏻

karthikss
Автор

Wow, that's an Amazing session of Basic understanding of Flow and State flow in the easiest form. very much needed this content because of the dilemma of Flow and Live data and what is flow where to start.

Thanks for the great content Liked it very much.

MuhammadFarhan-pqwc
Автор

Excellent content. Good to see that life cycle related pain points are addressed elegantly.

vengateshm
Автор

What an amazing video! Thanks for the examples you were using they were very clear and adding lifecycle diagram is a top of the cherry...

deepakbisht
Автор

Wow. Really took a concept and broke it down. Thank you for this!

thecsciworker
Автор

Nice video. You should cover Flows using Jetpack Compose

jeffreynyauke
Автор

Amazing content, thank you very much to provide material that it so easy to be understanded!

ILikeActions
Автор

Excellent content. Thanks to share it with us and now I can understand flow in Android context.

thiagolopessilva
Автор

This was an awesome tutorial on flows! Thank you

chuka_obi
Автор

Great video, very informative and helped me understand things much better

thomasknee
Автор

Muchas gracias! Good stuff and well explained! Keep on the good work. Thank you :)

hoonjung
Автор

Love it the interactive way you did the video!

theredd
Автор

best toturial ever i watch about Flows

HaSeebpjr
Автор

Thanks for the content, but I think there should be a clearer and a not breaking migration path from LiveData, the current suggestion of replacing `asLiveData` with and `repeatOnLifecycle` won't give the same result, since the whole Flow chain will be re-executed when the apps comes from background, and this wasn't the case with `asLiveData`

hichaam
Автор

Yeah nice video and Pancho is the best example, thank you :)

anteckoeros
Автор

Why do we need this alternative if we already have RxJava? You might as well have added lifecycle helpers for subscribing on lifecycle and that would pretty much be it

streettrialsandstuff
Автор

can you explain the difference between statein(...., whilesubscribed(5000) ) and collectAsStateWithLifecycle () are they supposed to do the same thing, because whilesubscirbed waits for 5 seconds ?

omkarpawar
Автор

10:46 This part I dont understand. Why is live data considered "adding another technology to the mix" (implying its not ideal), when before you said its lifecycle aware and perfectly fine?

schinsky
Автор

If we use repeatOnLifecycle in activity, then importance of ViewModel likely less. So this example s just for illustration or really we don't need viewmodel anymore?

ranganrangan
Автор

surprisingly this video actually helped.

megaxenu