@Override
public void onImageLoaded(Bitmap bitmap, final ViewHolder holder) {
MemeData.Image dataImage = (MemeData.Image) holder.imageView.getTag();
Animation animation = AnimationUtils.loadAnimation(_activity, R.anim.fadeinfast);
holder.imageView.startAnimation(animation);
if (dataImage.isTemplate) {
holder.imageButtonFav.startAnimation(animation);
holder.imageButtonFav.setVisibility(View.VISIBLE);
}
if (_app.settings.isHidden(dataImage.fullPath.getAbsolutePath())) {
holder.imageButtonFav.setVisibility(View.INVISIBLE);
holder.imageView.setOnClickListener(null);
preparePopupMenu(holder);
}
holder.imageView.setImageBitmap(bitmap);
holder.imageView.setVisibility(View.VISIBLE);
}
MemeItemAdapter.java 文件源码
java
阅读 36
收藏 0
点赞 0
评论 0
项目:memetastic
作者:
评论列表
文章目录