You can create a separate manager that will process the current card number. With the repeated action of the button, you can delete the previous map and animate the appearance of the new one. You can see how we implement this manager here: https://github.com/Yalantis/Koloda
source share