com.google.android.apps.picview.request.CachedWebRequestFetcher

Here are the examples of the java api class com.google.android.apps.picview.request.CachedWebRequestFetcher taken from open source projects.

1. AlbumListActivity#onCreate()

Project: picview-for-android
File: AlbumListActivity.java
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
    setContentView(R.layout.album_list);
    mainList = (ListView) findViewById(R.id.albumlist);
    inflater = LayoutInflater.from(this);
    cachedImageFetcher = new CachedImageFetcher(new FileSystemImageCache());
    cachedWebRequestFetcher = new CachedWebRequestFetcher(new FileSystemWebResponseCache());
    initCurrentConfiguration();
    // TODO: This is picasa specific.
    final String accountId = getIntent().getExtras().getString("accountId");
    if (accountId != null) {
        doAlbumsRequest(accountId);
    } else {
        showAlbums();
    }
}