Releases: plusmobileapps/SavedStateFlow
Releases · plusmobileapps/SavedStateFlow
SavedStateFlowHandle & SavedStateFlow final 1.0 release
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
- 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
- Created
SavedStateFlowHandle
to make mocking of aSavedStateFlow
simpler without needing to mess around withLiveData
- Added units tests to the sample
MainViewModel
to showcase the testability in this refactor.
v0.2 First public release automated by github action
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