filmov
tv
Kotlin Flows & Channels Introduction | Android | CheezyCode - Hindi
![preview_player](https://i.ytimg.com/vi/kOpRhtbhftI/maxresdefault.jpg)
Показать описание
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 -
Jetpack Paging Tutorial -
Complete Dependency Injection Playlist Link -
Complete Android Architecture Components Playlist -
Beginner series in Android Playlist (Hindi) -
Kotlin Beginners Tutorial Series -
For more info - visit the below link
We are social. Follow us at -
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 -
Jetpack Paging Tutorial -
Complete Dependency Injection Playlist Link -
Complete Android Architecture Components Playlist -
Beginner series in Android Playlist (Hindi) -
Kotlin Beginners Tutorial Series -
For more info - visit the below link
We are social. Follow us at -
Комментарии