Releases: crypticminds/ColdStorage
Releases · crypticminds/ColdStorage
@Parent annotation
Changes
- New annotation that will help to load data into views that are children of another View.
- Works with included layouts.
New feature
Changelog
- Introduced a new parameter "persistImageToDisk" in the LoadImage annotation which can be used to save images into the disk.
- While loading images ColdStorage will first check the in-app memory and then the disk before downloading the image from the URL.
- Refactoring of the code.
@LoadImage Annotation
This release contains an annotation (@loadimage) that can be provided over image views to cache and load images directly into the view.
Freeze annotation bug fix
Fixed a bug for freeze annotation where the class name was different from the generated file name
Freeze annotation
Added "@Freeze" annotation that can be applied to a class to apply caching logic to all methods inside the class
Declaring keys with annotations
Added a new annotation "@Cachekey" that can be used to declare the method parameters as keys of the cache. Now variable names need not be passed to the key parameter of the "@refrigerate" annotation.
Support for annotations
@refrigerate annotation can now be used to cache method outputs
Unit tested
Unit tests have been updated with coverage of 80%.
Coverage will be improved in later releases.
New functionalities to manually handle caching
1.0.1 Added method to manually update and fetch from cache
Basic caching
1.0.0 [Gradle] Changing gradle file to make the project an android module