crypticminds / coldstorage Goto Github PK
View Code? Open in Web Editor NEWLightweight data loading and caching library for android
License: Apache License 2.0
Lightweight data loading and caching library for android
License: Apache License 2.0
Describe the bug
We are trying to use this library to cache MP3 files on an android device. These files are streamed to the device, converted into a string so they can be stored with cold storage. This works for a lot of the MP3 files we have but we noticed that some larger files (~2 MB) are not placed into the cache. Even checking right after they are added they do not appear in the cache. No visible error is printed out either
Is there a size limit not described in the documentation? Is this expected behaviour?
Is your feature request related to a problem? Please describe.
@ImageView can be configured with a height and width value so that the images are resized before they are put into the ImageView
Describe the solution you'd like
Optimized logic for resizing bitmaps before they are added to the ImageView if the required values are passed to the annotation.
Is your feature request related to a problem? Please describe.
A cache should be able to prioritize which data must be evicted from the app memory to make room for new ones and one of the methods is to keep frequently used data in the app memory.
Describe the solution you'd like
A counter needs to be implemented that will keep track of how many times a key is requested from the cache.
Additional context
Every item that is stored in the cache has certain metadata attached to it like timeToLive, timestamp etc. An additional parameter needs to be added to this metadata which should be incremented every time the cache is requested for a particular key.
Is your feature request related to a problem? Please describe.
The current annotations will not help in loading images in Recycler views from a URL.
Describe the solution you'd like
TBD
Parent annotation to access a child view and load data into them.
This can be used along with other data loading annotations such as @loadimage
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.