title: Items still showing in recyclerView after being deleting
body: <p>I've got a recyclerview which shows data from my sqlite db. The user has an option to remove a single item or remove all items, this is meant to delete the item from the sqlite db and remove the item from the recyclerview. Deleting a single item works great.</p>
  
  <p>The clear all doesn't work well. The items are deleted out the table but the recyclerview still shows the items, i'm even able to still click on them. The recyclerview is empty when i restart the activity.</p>
  
  <pre><code>public void updateDataSet(){
          db = new DBHandler(context);
          db.deleteUserBasket(username);
          ItemList = db.getAllItems(userName);
          notifyDataSetChanged();
      }
  </code></pre>
  
  <p>This is the original method I was calling for the clear all, it did work but now it's not removing the items from the recyclerView.</p>
  
  <p>I've tried this too</p>
  
  <pre><code>public void deleteDataSet(){
          db = new DBHandler(context);
          ItemList = db.getAllUserCartItems(userName);
          int size = cartItemList.size();
          db.deleteUserBasket(userName);
          notifyItemRangeRemoved(0,size);
      }
  </code></pre>
  
  <p>Both methods are being called, I've stepped through them, but it seems like the notify methods aren't doing anything.</p>
  
  <pre><code>db.deleteUserBasket(userName);
  
  cartItemList = db.getAllUserCartItems(userName);
  basketOrderAdapter = new BasketOrderAdapter(getApplicationContext(),cartItemList,userName);
  basketOrderAdapter.notifyDataSetChanged();
  </code></pre>
  
  <p>This is something else I've tried, at this point cartItemList is empty, debugging says size = 0;</p>
  
  <p>This too doe's the same, where the items are still in my view</p>