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

修改的原因是因为getFilesDir比起getCacheDir更不容易被系统自动清空? #1

Open
kakashilw opened this issue Dec 2, 2016 · 0 comments

Comments

@kakashilw
Copy link

你好 File f = new File(ctx.getCacheDir(), "ACache"); 改为了File f = new File(ctx.getFilesDir(), cacheName);
是因为getFilesDir比起getCacheDir更不容易被系统自动清空? 用getFilesDir的话 是否有被系统回收的危险?

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

1 participant