Skip to content

Releases: plusmobileapps/SavedStateFlow

SavedStateFlowHandle & SavedStateFlow final 1.0 release

07 Jan 05:39
Compare
Choose a tag to compare

SavedStateFlow

A StateFlow that can persist the state across process death. Value changes are reactively observed by SavedStateHandle.getLiveData() and when set will delegate to SaveStateHandle.set().

SavedStateFlowHandle

A wrapper around SavedStateHandle with two new functions that can provide a Flow or SavedStateFlow.

SavedStateFlowHandle & SavedStateFlow

05 Jan 08:20
Compare
Choose a tag to compare
  • added some kdoc to the api interfaces
  • cleaned up the internal classes in the library
  • update documentation in mkdocs

Refactor SavedStateFlow to be more testable

02 Jan 03:52
253be9a
Compare
Choose a tag to compare
  • Created SavedStateFlowHandle to make mocking of a SavedStateFlow simpler without needing to mess around with LiveData
  • Added units tests to the sample MainViewModel to showcase the testability in this refactor.

v0.2 First public release automated by github action

30 Dec 20:05
d04a1f1
Compare
Choose a tag to compare
Publish library to maven central ci/cd (#3)

* successful build and upload of artifact to nexus central repository

* update readme

* add a workflow

* update publish version as a test