Program: 175433
Project: 175433
Buggy source:
@Override public void onBindViewHolder(final MyViewHolder holder,final int position){
switch (mTabNumber) {
case 1:
switch (position) {
case 0:
      holder.txtView.setText("String_Node_Str");
    holder.txtView.setGravity(Gravity.CENTER_VERTICAL | Gravity.RIGHT);
  holder.txtView.setBackgroundResource(R.color.pink);
holder.txtView.setTextColor(Color.WHITE);
break;
case 1:
holder.txtView.setText(mIdea);
break;
case 2:
holder.txtView.setText("String_Node_Str");
holder.txtView.setGravity(Gravity.CENTER_VERTICAL | Gravity.LEFT);
holder.txtView.setBackgroundResource(R.color.orange);
holder.txtView.setTextColor(Color.WHITE);
break;
}
break;
case 2:
switch (position) {
case 0:
holder.txtView.setText("String_Node_Str");
holder.txtView.setGravity(Gravity.CENTER_VERTICAL | Gravity.RIGHT);
holder.txtView.setBackgroundResource(R.color.red);
holder.txtView.setTextColor(Color.WHITE);
break;
case 1:
holder.txtView.setText(mIdea);
break;
case 2:
holder.txtView.setText("String_Node_Str");
holder.txtView.setGravity(Gravity.CENTER_VERTICAL | Gravity.LEFT);
holder.txtView.setBackgroundResource(R.color.green);
holder.txtView.setTextColor(Color.WHITE);
break;
}
break;
case 3:
switch (position) {
case 0:
holder.txtView.setText("String_Node_Str");
holder.txtView.setGravity(Gravity.CENTER_VERTICAL | Gravity.RIGHT);
holder.txtView.setBackgroundResource(R.color.red);
holder.txtView.setTextColor(Color.WHITE);
break;
case 1:
holder.txtView.setText(mIdea);
break;
case 2:
holder.txtView.setText("String_Node_Str");
holder.txtView.setGravity(Gravity.CENTER_VERTICAL | Gravity.LEFT);
holder.txtView.setBackgroundResource(R.color.purple);
holder.txtView.setTextColor(Color.WHITE);
break;
}
break;
}
}

Fixed version (ground truth):
@Override public void onBindViewHolder(final MyViewHolder holder,final int position){
switch (mTabNumber) {
case 1:
switch (position) {
case 0:
      holder.txtView.setText("String_Node_Str");
    holder.txtView.setGravity(Gravity.CENTER_VERTICAL | Gravity.RIGHT);
  holder.txtView.setBackgroundResource(R.color.pink);
holder.txtView.setTextColor(Color.WHITE);
break;
case 1:
holder.txtView.setText(mIdea);
holder.txtView.setBackgroundResource(R.color.white);
holder.txtView.setTextColor(Color.BLACK);
break;
case 2:
holder.txtView.setText("String_Node_Str");
holder.txtView.setGravity(Gravity.CENTER_VERTICAL | Gravity.LEFT);
holder.txtView.setBackgroundResource(R.color.orange);
holder.txtView.setTextColor(Color.WHITE);
break;
}
break;
case 2:
switch (position) {
case 0:
holder.txtView.setText("String_Node_Str");
holder.txtView.setGravity(Gravity.CENTER_VERTICAL | Gravity.RIGHT);
holder.txtView.setBackgroundResource(R.color.red);
holder.txtView.setTextColor(Color.WHITE);
break;
case 1:
holder.txtView.setText(mIdea);
break;
case 2:
holder.txtView.setText("String_Node_Str");
holder.txtView.setGravity(Gravity.CENTER_VERTICAL | Gravity.LEFT);
holder.txtView.setBackgroundResource(R.color.green);
holder.txtView.setTextColor(Color.WHITE);
break;
}
break;
case 3:
switch (position) {
case 0:
holder.txtView.setText("String_Node_Str");
holder.txtView.setGravity(Gravity.CENTER_VERTICAL | Gravity.RIGHT);
holder.txtView.setBackgroundResource(R.color.red);
holder.txtView.setTextColor(Color.WHITE);
break;
case 1:
holder.txtView.setText(mIdea);
break;
case 2:
holder.txtView.setText("String_Node_Str");
holder.txtView.setGravity(Gravity.CENTER_VERTICAL | Gravity.LEFT);
holder.txtView.setBackgroundResource(R.color.purple);
holder.txtView.setTextColor(Color.WHITE);
break;
}
break;
}
}