Connect with us

Code

Learn Kotlin Flow – Learn Kotlin Flow by real examples for Android

First, we need to learn the concepts.

I have written a series of blogs on Flow API in Kotlin:

Then, just clone, build, run the project and start learning Kotlin Flow by examples.

You will learn the following from this Learn Kotlin Flow project:

  • How to use Kotlin Flow in Android Project?
  • Doing simple task in background using Kotlin Flow.
  • Doing tasks in series using Kotlin Flow.
  • Doing tasks in parallel using Kotlin Flow. Blog
  • Making two network calls in parallel using Kotlin Flow.
  • Using operators like filter, map, reduce, flatMapConcat, zip, and etc.
  • Exception handling in Kotlin Flow
  • How to use onCompletion in Flow?
  • Retry Task using retry operator in Flow. Blog: Retry Operator in Kotlin Flow
  • Retry Task with Exponential Backoff in Flow. Blog: Retry Operator in Kotlin Flow
  • Using Kotlin Flow with Retrofit. Blog
  • Using Kotlin Flow with Room Database. Blog
  • Using Kotlin Flow with various 3rd party libraries.
  • Making two network calls in parallel using Kotlin Flow.
  • Doing task in series using Kotlin Flow.
  • Writing Unit-Test for ViewModel which uses Kotlin Flow. Blog: Unit Testing ViewModel with Kotlin Flow and StateFlow

Kotlin Flow Examples for Android Development: Activity and ViewModel

Learn Kotlin Flow on GitHub: https://github.com/amitshekhariitbhu/Learn-Kotlin-Flow
Platform: Android
⭐️: 221
Advertisement

Trending