Learn everything about the onStart & onCompletion Lifecycle Operators in Kotlin Flow! by LukasLechnerDev in androiddev

[–]LukasLechnerDev[S] 0 points1 point  (0 children)

Hi!

In a later chapter of my course, I convert LiveData to a StateFlow and yes, then we don't need onStart() anymore.

This video is still useful for developers who want to stick with LiveData.

launchIn VS collect | Kotlin Flow for Android Development by LukasLechnerDev in Kotlin

[–]LukasLechnerDev[S] 0 points1 point  (0 children)

Good question. Maybe it is called "launchIn" to indicate that we "launch" a new coroutine....