Git Product home page Git Product logo

coldstorage's Issues

Does Cold Storage have a size limit not specified in the documents?

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?

Logic for resizing images

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.

Implement a counter to keep track of frequency of cache hits for an item in the cache,

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.

Annotation to load data in Recycler views

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.