Open Hitexroid opened 7 years ago
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; }
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.
how to lock current sticker ? , not all stickers.