Stop using for loops to delete items in the loop. Can confuse Realm and make...
Stop using for loops to delete items in the loop. Can confuse Realm and make it think there are items where there are not. Luckily, there's a simple delete all method. Update gradle plugin.