Sreekanth K
Sreekanth K
@rupesh0895 can you please give more description with crashlogs if any?
@liauli , @jasolangi786 Please point to the specific line in the code where we should be putting the code snippet that is shared above.
Observed by me also. @debabrata-rana How to fix this problem?
I fixed it by adding one line `if(drawCanvas!=null)` So now the method looks like below ``` void clearAll() { if(drawCanvas!=null) drawCanvas.drawColor(0, PorterDuff.Mode.CLEAR); invalidate(); } ```
OS version in which this issue happened please.
I also have observed the bug, no need of 2 texts, just add 2 texts and edit the 1st text, second text gets changed to the first text.
@Shrikant-B Any clue why this happens?
@ehsan-saddique Any more clues why this is happening?
@nickghodke Any clue on why this magic number 4 worked? and more information about the problem/fix?
@nickghodke It will work for any number, but ideally you are supposed use a power of 2. Else the number you are using will be rounded off to the nearest...