(int positionInAdapter)
| 124 | } |
| 125 | |
| 126 | private static boolean shouldTintBG(int positionInAdapter) { |
| 127 | // see comment on totalRemovedMessages to see why we do this |
| 128 | int totalPosition = positionInAdapter + totalRemovedMessages; |
| 129 | return totalPosition % 2 == 1; |
| 130 | } |
| 131 | |
| 132 | private static void reset(View view) { |
| 133 | Drawable background = view.getBackground(); |