Is there a reason for that? You did not override the remove functions...
So you always have to adjust all the selected items indizes afterwards manually
Normally, that's no problem, because after deleting the selected items, 'finishActionMode();' should be called... But I discovered this problem, because I'm deleting local/online files and I'm waiting for my thread callback and it may happen, that only some of the files could be deleted, so I don't necessaraly call the 'finishActionMode();'...
Is there a reason for that? You did not override the remove functions...
So you always have to adjust all the selected items indizes afterwards manually
Normally, that's no problem, because after deleting the selected items, 'finishActionMode();' should be called... But I discovered this problem, because I'm deleting local/online files and I'm waiting for my thread callback and it may happen, that only some of the files could be deleted, so I don't necessaraly call the 'finishActionMode();'...