You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Javadoc for usePrivateFiles params in Builder.useSerializerInDisk() says: "true if you want to use {@link Context#MODE_PRIVATE} with the default disk cache folder."
But, as far as I see, both folder below refers to the internal storage and Context.MODE_PRIVATE is used by default:
Javadoc for usePrivateFiles params in Builder.useSerializerInDisk() says: "
true
if you want to use {@link Context#MODE_PRIVATE} with the default disk cache folder."But, as far as I see, both folder below refers to the internal storage and Context.MODE_PRIVATE is used by default:
context.getDir(CACHE_FILE_PREFIX + this.id, Context.MODE_PRIVATE)
new File(context.getCacheDir().getPath() + "/" + CACHE_FILE_PREFIX + "/" + this.id)
So, the only difference is the path: later creates folder in the
cache
folder, which might be cleaned-up by the system.The text was updated successfully, but these errors were encountered: