I have a recyclerview, that is populated using an arraylist. When I remove an item from the list, it works fine, until the last item gets removed. Below is the code found in my recyclerview adapter, that removes an item. I have a recyclerview, that is populated using