public static Picasso getPicasso(Context context) {
    if (sPicasso == null) {
      sPicasso =
          new Picasso.Builder(context)
              .downloader(new OkHttp3Downloader(context, ConfigConstants.MAX_DISK_CACHE_SIZE))
              .memoryCache(new LruCache(ConfigConstants.MAX_MEMORY_CACHE_SIZE))
              .build();
    }
    return sPicasso;
  }
Provides instance of Picasso with common configuration for the sample app
samples/comparison/src/main/java/com/facebook/samples/comparison/configs/picasso/SamplePicassoFactory.java