StickerView icon indicating copy to clipboard operation
StickerView copied to clipboard

Lock Sticker

Open Hitexroid opened this issue 8 years ago • 2 comments

how to lock current sticker ? , not all stickers.

Hitexroid avatar Sep 02 '17 11:09 Hitexroid

You need to find matrix of sticker on click Matrix matrix = stickerView.getCurrentSticker().getMatrix(); stickerView.example(matrix); In Stickerview public void example(Matrix matrix){ action = false; mat = matrix; } And then you can set in handelcurrentmode if(action == false){ if(mat.toString().equals(moveMatrix.toString())){ currentMode = ActionMode.NONE; } else { currentMode = ActionMode.DRAG; }

Surabhi3 avatar Sep 07 '17 06:09 Surabhi3

can you please explain how to place this code in handleCurrentMode? because i don't know and i place above code but it shows error.

RB4915 avatar Feb 07 '19 06:02 RB4915