/**
* Once the image is processed, associates it to the imageView
*/
@Override
protected void onPostExecute(BitmapDrawable value) {
//BEGIN_INCLUDE(complete_background_work)
// if cancel was called on this task or the "exit early" flag is set then we're done
if (isCancelled() || mExitTasksEarly) {
value = null;
}
final ImageView imageView = getAttachedImageView();
if (value != null && imageView != null) {
// if (BuildConfig.DEBUG) {
// Log.d(TAG, "onPostExecute - setting bitmap");
// }
setImageDrawable(imageView, value);
}
//END_INCLUDE(complete_background_work)
}
ImageWorker.java 文件源码
java
阅读 38
收藏 0
点赞 0
评论 0
项目:SuperSelector
作者:
评论列表
文章目录