title: Anomaly in my RecyclerView item adding code
body: <p>I got 3 types of items I want to add to my RecyclerView, a button (item with a button inside of it), a dummy (item with empty display), a normal item (item with some stuff inside of it).</p>
  
  <p>I'm going to write a scenario that describes the adding/remove process when it should work but it isn't for some reason.</p>
  
  <p>Scenario:</p>
  
  <p>-add a button + dummy to RecyclerView, they get displayed just fine.</p>
  
  <pre><code> WidgetItem dummy = new WidgetItem(true);
   arrayList.add(0, dummy);
   ca.notifyItemInserted(0);//ca is my adapter
  
   WidgetItem btnHolder = new WidgetItem();
   btnHolder.setButton(true);
   arrayList.add(0, btnHolder);
   ca.notifyItemInserted(0);
  
  </code></pre>
  
  <p>-add another normal item + 2 dummies -->fine</p>
  
  <pre><code>
   if (nbrItems % 3 == 0) {
        for (int i = 0; i &lt; 2; i++) {
          WidgetItem dummy = new WidgetItem(true);
          dummy.setTilte("dummy" + i);
          arrayList.add(0, dummy);
          ca.notifyItemInserted(0);
        }
      }
   arrayList.add(0, wItem);
   ca.notifyItemInserted(0);
  
  </code></pre>
  
  <p>-remove 1 dummy + add a normal item -->fine</p>
  
  <pre><code> if ((nbrDummy == 3)||(nbrDummy == 2))
        for (int i = 0; !foundDummy; i++) {
          if (cii.get(i).getDummy()) {
            arrayList.remove(i);
            ca.notifyItemRemoved(i);
            foundDummy = true;
          }
  
        }
   arrayList.add(0, wItem);
   ca.notifyItemInserted(0);
  </code></pre>
  
  <p>-remove 1 dummy + add a normal item (the same as above) -->not fine</p>
  
  <p>This's when the problem happens and instead of getting a 3rd 'normal item' i get another dummy instead in the display.</p>
  
  <p>What confused me was that the "onCreateViewHolder" method in my custom adapter didn't even get called at this step while it got called just fine in the previous ones.
  Even if the item that just got displayed was a dummy the "onCreateViewHolder" method should execute at least like how it should.</p>
  
  <p>But the code just skipped right to the "onBindViewHolder" method.</p>
  
  <p>I'm suspecting that maybe something happened after the deletion of that dummy but then again why it worked fine in the code above.</p>
  
  <p>I tried "notifyItemRangeChanged" after deleting the dummy but the whole recyclerView got messed up.</p>
  
  <p>So yeah, what's going on here?</p>