@Override public void onLoadFinish( ImageTask imageTask, CubeImageView cubeImageView, BitmapDrawable bitmapDrawable) { if (bitmapDrawable != null && cubeImageView != null) { cubeImageView.setImageDrawable(bitmapDrawable); } }
@Override public void onLoadError(ImageTask imageTask, CubeImageView cubeImageView, int i) { if (cubeImageView != null) { cubeImageView.setImageDrawable(new ColorDrawable(Color.RED)); } }
@Override public void onLoading(ImageTask imageTask, CubeImageView cubeImageView) { if (cubeImageView != null) { cubeImageView.setImageDrawable(new ColorDrawable(Color.GRAY)); } }