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...
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 fromStickerView. like this..model.setxLocation(stickerView.getX());model.setyLocation(stickerView.getY());model.setDegree(stickerView.getRotation());but the values not coming correctly...