Program: 14341
Project: 14341
Buggy source:
@Override public void onBindViewHolder(RecyclerView.ViewHolder holder,final int position){
  PostsListPost post=mPosts.get(position);
  Context context=holder.itemView.getContext();
  if (holder instanceof PostViewHolder) {
    PostViewHolder postHolder=(PostViewHolder)holder;
    if (post.hasTitle()) {
      postHolder.txtTitle.setText(post.getTitle());
    }
 else {
      postHolder.txtTitle.setText("String_Node_Str" + context.getResources().getText(R.string.untitled) + "String_Node_Str");
    }
    if (post.hasExcerpt()) {
      postHolder.txtExcerpt.setVisibility(View.VISIBLE);
      postHolder.txtExcerpt.setText(post.getExcerpt());
    }
 else {
      postHolder.txtExcerpt.setVisibility(View.GONE);
    }
    if (post.hasFeaturedImageId() || post.hasFeaturedImageUrl()) {
      postHolder.imgFeatured.setVisibility(View.VISIBLE);
      postHolder.imgFeatured.setImageUrl(post.getFeaturedImageUrl(),WPNetworkImageView.ImageType.PHOTO);
    }
 else {
      postHolder.imgFeatured.setVisibility(View.GONE);
    }
    if (post.isLocalDraft()) {
      postHolder.txtDate.setVisibility(View.GONE);
      postHolder.btnTrash.setButtonType(PostListButton.BUTTON_DELETE);
    }
 else {
      postHolder.txtDate.setText(post.getFormattedDate());
      postHolder.txtDate.setVisibility(View.VISIBLE);
      postHolder.btnTrash.setButtonType(PostListButton.BUTTON_TRASH);
    }
    updateStatusText(postHolder.txtStatus,post);
    configurePostButtons(postHolder,post);
  }
 else   if (holder instanceof PageViewHolder) {
    PageViewHolder pageHolder=(PageViewHolder)holder;
    if (post.hasTitle()) {
      pageHolder.txtTitle.setText(post.getTitle());
    }
 else {
      pageHolder.txtTitle.setText("String_Node_Str" + context.getResources().getText(R.string.untitled) + "String_Node_Str");
    }
    String dateStr=getPageDateHeaderText(context,post);
    pageHolder.txtDate.setText(dateStr);
    updateStatusText(pageHolder.txtStatus,post);
    boolean showDate;
    if (position > 0) {
      String prevDateStr=getPageDateHeaderText(context,mPosts.get(position - 1));
      showDate=!prevDateStr.equals(dateStr);
    }
 else {
      showDate=true;
    }
    pageHolder.dateHeader.setVisibility(showDate ? View.VISIBLE : View.GONE);
    pageHolder.btnMore.setVisibility(post.isUploading() ? View.GONE : View.VISIBLE);
    pageHolder.btnMore.setOnClickListener(new View.OnClickListener(){
      @Override public void onClick(      View v){
        showPagePopupMenu(v,position);
      }
    }
);
    pageHolder.dividerTop.setVisibility(position == 0 ? View.VISIBLE : View.GONE);
  }
  if (mOnLoadMoreListener != null && position >= getItemCount() - 1 && position >= PostsListFragment.POSTS_REQUEST_COUNT - 1) {
    mOnLoadMoreListener.onLoadMore();
  }
  holder.itemView.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View v){
      PostsListPost selectedPost=getItem(position);
      if (mOnPostSelectedListener != null && selectedPost != null) {
        mOnPostSelectedListener.onPostSelected(selectedPost);
      }
    }
  }
);
}

Fixed version (ground truth):
@Override public void onBindViewHolder(RecyclerView.ViewHolder holder,final int position){
  final PostsListPost post=mPosts.get(position);
  Context context=holder.itemView.getContext();
  if (holder instanceof PostViewHolder) {
    PostViewHolder postHolder=(PostViewHolder)holder;
    if (post.hasTitle()) {
      postHolder.txtTitle.setText(post.getTitle());
    }
 else {
      postHolder.txtTitle.setText("String_Node_Str" + context.getResources().getText(R.string.untitled) + "String_Node_Str");
    }
    if (post.hasExcerpt()) {
      postHolder.txtExcerpt.setVisibility(View.VISIBLE);
      postHolder.txtExcerpt.setText(post.getExcerpt());
    }
 else {
      postHolder.txtExcerpt.setVisibility(View.GONE);
    }
    if (post.hasFeaturedImageId() || post.hasFeaturedImageUrl()) {
      postHolder.imgFeatured.setVisibility(View.VISIBLE);
      postHolder.imgFeatured.setImageUrl(post.getFeaturedImageUrl(),WPNetworkImageView.ImageType.PHOTO);
    }
 else {
      postHolder.imgFeatured.setVisibility(View.GONE);
    }
    if (post.isLocalDraft()) {
      postHolder.txtDate.setVisibility(View.GONE);
      postHolder.btnTrash.setButtonType(PostListButton.BUTTON_DELETE);
    }
 else {
      postHolder.txtDate.setText(post.getFormattedDate());
      postHolder.txtDate.setVisibility(View.VISIBLE);
      postHolder.btnTrash.setButtonType(PostListButton.BUTTON_TRASH);
    }
    updateStatusText(postHolder.txtStatus,post);
    configurePostButtons(postHolder,post);
  }
 else   if (holder instanceof PageViewHolder) {
    PageViewHolder pageHolder=(PageViewHolder)holder;
    if (post.hasTitle()) {
      pageHolder.txtTitle.setText(post.getTitle());
    }
 else {
      pageHolder.txtTitle.setText("String_Node_Str" + context.getResources().getText(R.string.untitled) + "String_Node_Str");
    }
    String dateStr=getPageDateHeaderText(context,post);
    pageHolder.txtDate.setText(dateStr);
    updateStatusText(pageHolder.txtStatus,post);
    boolean showDate;
    if (position > 0) {
      String prevDateStr=getPageDateHeaderText(context,mPosts.get(position - 1));
      showDate=!prevDateStr.equals(dateStr);
    }
 else {
      showDate=true;
    }
    pageHolder.dateHeader.setVisibility(showDate ? View.VISIBLE : View.GONE);
    pageHolder.btnMore.setVisibility(post.isUploading() ? View.GONE : View.VISIBLE);
    pageHolder.btnMore.setOnClickListener(new View.OnClickListener(){
      @Override public void onClick(      View v){
        showPagePopupMenu(v,post);
      }
    }
);
    pageHolder.dividerTop.setVisibility(position == 0 ? View.VISIBLE : View.GONE);
  }
  if (mOnLoadMoreListener != null && position >= getItemCount() - 1 && position >= PostsListFragment.POSTS_REQUEST_COUNT - 1) {
    mOnLoadMoreListener.onLoadMore();
  }
  holder.itemView.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View v){
      PostsListPost selectedPost=getItem(position);
      if (mOnPostSelectedListener != null && selectedPost != null) {
        mOnPostSelectedListener.onPostSelected(selectedPost);
      }
    }
  }
);
}