public ViewHolder(View itemView, boolean isFooter, Context context) { super(itemView); this.isFooter = isFooter; if (!this.isFooter) { tv_title = (TextView) itemView.findViewById(R.id.tv_title); sdv_picture = (SimpleDraweeView) itemView.findViewById(R.id.sdv_picture); sdv_picture.getHierarchy().setProgressBarImage(new CustomProgressBar(context)); tv_picture_hint = (TextView) itemView.findViewById(R.id.tv_picture_hint); } }