picview/src/com/google/android/apps/picview/request/CachedImageFetcher.java
public void maybePrefetchImageAsync(final URL url) {
    if (isCached(url)) {
      return;
    }
    (new AsyncTask<Void, Integer, Void>() {
      @Override
      protected Void doInBackground(Void... params) {
        cachedFetchImage(url);
        return null;
      }
    }).execute();
  }
/**
   * If the image with the given URL is not already in cache, it is fetched.
   * This can be used to pre-cache images that are likely to be requested soon.
   */
If the image with the given URL is not already in cache, it is fetched.
This can be used to pre-cache images that are likely to be requested soon.
If the image with the given URL is not already in cache it is fetched . This can be used to pre - cache images that are likely to be requested soon .
public void maybePrefetchImageAsync(final URL url) {
    if (isCached(url)) {
      return;
    }
    (new AsyncTask<Void, Integer, Void>() {
      @Override
      protected Void doInBackground(Void... params) {
        cachedFetchImage(url);
        return null;
      }
    }).execute();
  }
public void maybePrefetchImageAsync ( final URL url ) { if ( isCached ( url ) ) { return ; } ( new AsyncTask < Void , Integer , Void > ( ) { @ Override protected Void doInBackground ( Void ... params ) { cachedFetchImage ( url ) ; return null ; } } ) . execute ( ) ; }
If the image with the given URL is not already in cache, it is fetched.
If the image with the given URL is not already in cache it is fetched .