This repository is a collection of code examples on my understanding of kotlin flows. It includes ways to construct flows using flow builders,some intermediate and terminal operators and also exception handling.
- How are Flows Constructed?
- Intermediate Operators
- Terminal Operators
- Exceptions
- flow{...}
- asFlow()
- flowOf()
- map()
- filter()
- take
- zip
- collect()
- toList()
- toSet()
- single()
- reduce()
- fold()
-
Support it by starring this repository. ⭐
-
And follow me on Medium
- Experience with Kotlin syntax.
- How to create and run a project in IntelliJ IDEA.
- Install IntelliJ IDEA Studio, if you don't already have it.
- Download the sample.
- Import the sample into IntelliJ IDEA Studio.
- Build and run the sample.