I am happy to announce that I released version 1.0.5 of Prefser Android library. Prefser is a wrapper for Android SharedPreferences with object serialization and RxJava Observables. What has been done in this version:
- Removed
finalkeyword fromPrefserclass in order to allow class mocking thanks to @plackemacher - Removed unused imports from
Prefserclass - Added test coverage report generation
- Increased test coverage to 100%
- Added abstraction for
JsonConverterand defaultGsonConverter - Added
getAndObserve(...)method - Emiting current value right on subscription to
ObservablewithgetAndObserve(...)method, which is idea provided by @semanticer. Thanks! - Added GitHub pages with generated JavaDoc documentation on
gh-pagesbranch available at: http://pwittchen.github.io/prefser
Moreover you can browse auto-generated reports:
- latest test report at: http://pwittchen.github.io/prefser/test-report
- latest test coverage report at: http://pwittchen.github.io/prefser/test-coverage-report
Some improvements wouldn’t be implemented without engagement of the open-source community on GitHub, so thanks for reporting your issues and providing suggestions! I am always open for improvements in my projects. You can get new version of the library, its source code, download instructions and documentation at: https://github.com/pwittchen/prefser