public DivisionRankingAdapter(Context context, List<EliminatedTotalEntity> eliminatedList) { this.eliminatedList = eliminatedList; this.context = context; mImageLoader = BaseApplication.getImageLoader(context); options = new DisplayImageOptions.Builder() .bitmapConfig(Bitmap.Config.RGB_565) .showStubImage(R.drawable.empty_ico_small) .showImageForEmptyUri(R.drawable.team_icon_null) .showImageOnFail(R.drawable.team_icon_null) .cacheInMemory(true) .cacheOnDisc(true) .build(); }
public MyReplyAdapter(Context context, List<TimeLineListEntity> data, UserEntity user) { this.data = data; this.user = user; this.mContext = context; mLayoutInflater = LayoutInflater.from(context); mImageLoader = BaseApplication.getImageLoader(context); thumbOtions = new DisplayImageOptions.Builder() .bitmapConfig(Bitmap.Config.RGB_565) .showStubImage(R.color.common_head_default) .showImageForEmptyUri(R.drawable.comment_user_head) .showImageOnFail(R.drawable.comment_user_head) .cacheInMemory(true) .cacheOnDisc(true) .build(); }