I have a recycler view and an array of positions to be deleted.
Now when i delete the items using a loop , after deletion of item at position 1, the total number of items in Recyclerview decreases hence the rest positions point to wrong rows . Thereby leading to IndexOutofBound Exception.
Therefore what could i do to properly delete multiple recyclerview items at once if i know their initial positions?