I am going to create an application in that i have to implement an Undo and Redo feature.
In the application there will be multiple objects located on stage and user can customize
the position of the objects. But when user clicks on Undo the object go back to their default
position and after clicking on redo object will move on the new position.
So my question is how can i apply these feature in my application?
Is there any library or any third party classes?
Can some one help me?
Thanks in advance.
This is my customize class afor undo and redo multiple objects on stage. There is different pattern which can be used for the undo and redo operation but for me this is the simple way for undo and redo. I have perfectly and successfully implement this in my project.
To Use this class only import the class
and after that
After that create click event for undo and redo:
For me this works fine… Hope this helps others too…:)