StickerView icon indicating copy to clipboard operation
StickerView copied to clipboard

How to implement Undo Redo feature for Sticker movement, scale, rotation

Open Ramax11 opened this issue 6 years ago • 0 comments

I am implementing Undo Redo feature with this library. I have a undo/redo list like this. List<StickerPropertyModel> mUndoList = new ArrayList<>(); List<StickerPropertyModel> mRedoList = new ArrayList<>(); i want to set property value of xLocation, yLocation, scaling, degree. So i getting values from StickerView. like this.. model.setxLocation(stickerView.getX()); model.setyLocation(stickerView.getY()); model.setDegree(stickerView.getRotation());

but the values not coming correctly...

Ramax11 avatar Dec 21 '18 11:12 Ramax11