This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class BasicAuthOkHttpLoader extends OkHttpDownloader { | |
private static final int MAX_SIZE = 1024 * 1024 * 7; // 7MB | |
private static final int MAX_STALE = 30 * 24 * 60 * 60; // 30 days | |
@Inject | |
public BasicAuthOkHttpLoader() { | |
super(Utils.getImageCacheDirectory(), MAX_SIZE); |