@Override public void onBindViewHolder(final RecyclerView.ViewHolder holder, int position) { int type = holder.getItemViewType(); if (type == LIST_HEADER) { return; } Reply reply = replyList.get(position - 1); ItemViewHolder viewHolder = (ItemViewHolder) holder; viewHolder.reply = reply; viewHolder.replyView.parse(reply); viewHolder.replyView.setContentAttributes(); }