Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OkHttp3Downloader maxSize #32

Open
anonym24 opened this issue Jun 28, 2018 · 2 comments
Open

OkHttp3Downloader maxSize #32

anonym24 opened this issue Jun 28, 2018 · 2 comments

Comments

@anonym24
Copy link

anonym24 commented Jun 28, 2018

public OkHttp3Downloader(final File cacheDir, final long maxSize);

it says

maxSize The size limit for the cache.

well, the size in bytes, kilobytes?

also if it reaches this limit what happens at that point? does it remove all caches or only removes the oldest images from cache?

p.s. would it better if such constructors would give more description/information...

@JakeWharton
Copy link
Owner

Bytes

@JakeWharton
Copy link
Owner

What happens is an implementation detail of OkHttp, not this library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants