return;
}
File cacheDir = createCacheDir(this, IMAGE_CACHE_PATH);
long size = calculateDiskCacheSize(cacheDir);
Cache cache = new Cache(cacheDir, size);
<BUG>mOkHttpClient = new OkHttpClient().setCache(cache);
mOkHttpClient.setConnectTimeout(CONNECTION_TIMEOUT, TimeUnit.MILLISECONDS);

mOkHttpClient.setReadTimeout(CONNECTION_TIMEOUT, TimeUnit.MILLISECONDS);

mOkHttpClient.setWriteTimeout(CONNECTION_TIMEOUT, TimeUnit.MILLISECONDS);

}</BUG>
@SuppressWarnings("WeakerAccess")

return;
}
File cacheDir = createCacheDir(this, IMAGE_CACHE_PATH);
long size = calculateDiskCacheSize(cacheDir);
Cache cache = new Cache(cacheDir, size);
mOkHttpClient = new OkHttpClient.Builder()
.cache(cache)
.connectTimeout(CONNECTION_TIMEOUT, TimeUnit.MILLISECONDS)
.readTimeout(CONNECTION_TIMEOUT, TimeUnit.MILLISECONDS)
.writeTimeout(CONNECTION_TIMEOUT, TimeUnit.MILLISECONDS)
.build();
}
@SuppressWarnings("WeakerAccess")
