title: Switching item viewtypes in RecyclerView
body: <p>My logic seems to be fine, but it just doesn't work.
  I have 2 views A &amp; B and I simply want to show B once after A has shown 5 times.
  In my adapter</p>
  
  <pre><code>int itemCount = 0;
  
  @Override
  public int getItemViewType(int pos){
      itemCount++;
      if(itemCount == 4){
          itemCount = 0;
          return VIEW_B;
      }else{
          return VIEW_A;
      }
  }
  </code></pre>
  
  <p>I don't seem to know what's wrong. Any help would suffice.</p>