Collect Kotlin’s Flow Lifecycle Aware With Style
Reduce boilerplate code and facilitate your codebase with some handy extension functions
Published in
3 min readJan 30, 2022
AFlow
is a cold stream that emits values in sequential order. “Cold” means that until a Flow is observed or rather “collected”, it won’t run. When using Flows you have the option to use various known transformation functions like map…