title: how to refresh a RecyclerView draw (not datas)?
body: <p>In a RecyclerView, I change the presentation for some items as follows:</p>
  <pre><code>        if (stk.getQty() == 0) {    // mise en valeur des stocks à 0 non purgeables
              cellStockQty.setTextColor(Color.RED);
              GradientDrawable border = new GradientDrawable();
              border.setColor(mIV.getResources().getColor(R.color.colorAugment));  // white background
              border.setStroke(1, mIV.getResources().getColor(R.color.colorAccent));  // black border with full
              mIV.setBackground(border);
          }
  </code></pre>
  <p>When I delete an item, I manage to remove it from the display, with notifyItemRemoved(index); but the next item takes the presentation of the item that was deleted.</p>
  <p>Of course, if I leave this activity then come back, all is right.</p>
  <p>How to make sure to refresh the display, depending on the data?</p>
  <p><a href="https://i.stack.imgur.com/ChSfY.jpg" rel="nofollow noreferrer">before deleting Jjjjjj item</a></p>
  <p><a href="https://i.stack.imgur.com/zqsdi.jpg" rel="nofollow noreferrer">after deleting Jjjjjj item</a></p>
  <p><strong>Edit:</strong></p>
  <p>Here is my original layout</p>
  <pre><code>&lt;androidx.cardview.widget.CardView xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
  xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot;
      android:layout_width=&quot;match_parent&quot;
      android:layout_height=&quot;wrap_content&quot;
      android:layout_margin=&quot;0dp&quot;
      android:foreground=&quot;@drawable/card_foreground&quot;
      app:cardBackgroundColor=&quot;@color/stockRecyclerviewBackground&quot;
      app:cardCornerRadius=&quot;6dp&quot;
      app:cardElevation=&quot;4dp&quot;
      app:cardMaxElevation=&quot;6dp&quot;
      app:cardPreventCornerOverlap=&quot;false&quot;
      app:cardUseCompatPadding=&quot;true&quot;&gt;
  
      &lt;include layout=&quot;@layout/recystock_cell_include&quot; /&gt;
  
  &lt;/androidx.cardview.widget.CardView&gt;
  </code></pre>