Kotlin Flows & Channels Introduction | Android | CheezyCode - Hindi

46 Просмотры
Издатель
Kotlin Flow Tutorial - In this video, we will learn about what is Kotlin Flow? What is channel in Kotlin? We will understand - what are streams and how to implement them in Kotlin. Learn what is the need of streams, what are suspend functions and coroutines in Kotlin with simple example.

Coroutines Suspend functions work great when we have no or single output. But for scenarios where we have streams of data, we need to have some mechanism to implement that behavior. For this we have Kotlin Channels and Flows. Channels are hot whereas Flows are mostly cold. Hot stream is one where producers keeps producing data even if there are no consumers. Cold stream produces data only where there is at least one consumer available to consume the data.

Learn by creating a simple example in Hindi.

Topics covered -
1. Coroutines and Suspend
2. What are streams? How to implement Streams in Kotlin
3. Channels and Flows with Simple Example
4. Hot and Cold Streams.
5. Channels vs Flows in Kotlin

Kotlin Flows Playlist -
https://www.youtube.com/playlist?list=PLRKyZvuMYSIPJ84lXQSHMn8P-0J8jW5YT

Jetpack Paging Tutorial -
https://www.youtube.com/playlist?list=PLRKyZvuMYSIPci119n2gt_kq1GU-PAYRk

Complete Dependency Injection Playlist Link -
https://www.youtube.com/playlist?list=PLRKyZvuMYSIPwjYw1bt_7u7nEwe6vATQd

Complete Android Architecture Components Playlist -
https://www.youtube.com/playlist?list=PLRKyZvuMYSIO0jLgj8g6sADnD0IBaWaw2

Beginner series in Android Playlist (Hindi) -
https://www.youtube.com/playlist?list=PLRKyZvuMYSIN9sVZTfDm4CTdTAzDQyLJU

Kotlin Beginners Tutorial Series -
https://www.youtube.com/playlist?list=PLRKyZvuMYSIMW3-rSOGCkPlO1z_IYJy3G

For more info - visit the below link
http://www.cheezycode.com

We are social. Follow us at -
Facebook - http://www.facebook.com/cheezycode
Twitter - http://www.twitter.com/cheezycode
Instagram - https://www.instagram.com/cheezycode/
Категория
Язык программирования Kotlin
Комментариев нет.