Nov 6, 2023
Well, if it's intended to ignore the lifecycle and you want to collect a Flow once and share it, you should just use stateIn() with SharingStarted.Eagerly and then you don't need to add any extra code.
Well, if it's intended to ignore the lifecycle and you want to collect a Flow once and share it, you should just use stateIn() with SharingStarted.Eagerly and then you don't need to add any extra code.
Android developer from Belgium, blogging about advanced programming topics.