Skip to content

Releases: psteiger/flow-lifecycle-observer

0.2.1

01 Feb 18:52
40d53dd
Compare
Choose a tag to compare

Includes a fix for #4 - IDE suggestion to replace deprecated observe/observeIn methods.

0.2.0

24 Jan 17:35
6df6652
Compare
Choose a tag to compare
  • Deprecation of old API and introduction of four new extension functions.

This release deprecates the Flow<T>.observe and Flow<T>.observeIn APIs, and instead provides more specialized versions:

  • Flow<T>.collectWhileResumed/Flow<T>.collectWhileResumedIn, and
  • Flow<T>.collectWhileStarted/Flow<T>.collectWhileStartedIn

A notable difference in behavior is the extension functions use launchWhenStarted/launchWhenResumed instead of just launch.

See #2 for motivation and more details.

(Thanks @peterLaurence).

0.1.2

09 Dec 21:03
088f9c9
Compare
Choose a tag to compare
Update README.md