Skip to content

Maybe Cache Manager can be more flexible? #5

Description

@FastNinja

Hi Rene,

Information about the files is stored in the shared preferences with the key "lib_cached_image_data". (Because images was the first use of this library :)) The date when the cache is last cleaned is stored as "lib_cached_image_data_last_clean".

You can actually pass this preferences in a Cache constructor (or in a getInstance() method) and your network image library will pass these keys (ib_cached_image_data).

Second point - it will probably be good to be able to have multiple cache managers. For example I will need to cache both document and data - and not sure if I will have same clean/keep configurations for both...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions