コード例 #1
0
  @Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    options =
        new DisplayImageOptions.Builder()
            .showImageOnLoading(R.drawable.ic_stub)
            .showImageForEmptyUri(R.drawable.ic_empty)
            .showImageOnFail(R.drawable.ic_error)
            .cacheInMemory(true)
            .cacheOnDisk(true)
            .considerExifParams(true)
            .bitmapConfig(Bitmap.Config.RGB_565)
            .build();
  }
コード例 #2
0
 @Override
 public void onDestroy() {
   super.onDestroy();
   AnimateFirstDisplayListener.displayedImages.clear();
 }
コード例 #3
0
 @Override
 public void onStart() {
   super.onStart();
   gridView.invalidateViews();
 }