docs: private static void configureCaches(
        ImagePipelineConfig.Builder configBuilder,
        Context context) {
      final MemoryCacheParams bitmapCacheParams = new MemoryCacheParams(
          ConfigConstants.MAX_MEMORY_CACHE_SIZE, // Max total size of elements in the cache
          Integer.MAX_VALUE,                     // Max entries in the cache
          ConfigConstants.MAX_MEMORY_CACHE_SIZE, // Max total size of elements in eviction queue
          Integer.MAX_VALUE,                     // Max length of eviction queue
          Integer.MAX_VALUE,                     // Max cache entry size
          TimeUnit.MINUTES.toMillis(5));         // Interval for checking cache parameters
      configBuilder
          .setBitmapMemoryCacheParamsSupplier(
              new Supplier<MemoryCacheParams>() {
                public MemoryCacheParams get() {
                  return bitmapCacheParams;
                }
              })
          .setMainDiskCacheConfig(
              DiskCacheConfig.newBuilder(context)
                  .setBaseDirectoryPath(context.getApplicationContext().getCacheDir())
                  .setBaseDirectoryName(IMAGE_PIPELINE_CACHE_DIR)
                  .setMaxCacheSize(ConfigConstants.MAX_DISK_CACHE_SIZE)
                  .build());
    }