iink SDK on Device

Answered

How to judge whether the Editor has been modified?

Dear MyScript :

How to judge whether the Editor has been modified? Similar to the interface of Editor.canUndo() to judge whether it can be undo。

Best regards,

longjunhao


Best Answer

Dear Long Junhao,


Thank you for your question. 


We recommand you implementing the IEditorListener and/or IEditorListener2 to monitor changes in the model. For further details, please check https://developer.myscript.com/docs/interactive-ink/1.3/android/fundamentals/editing/#monitoring-changes-in-the-model and the API documentation https://developer.myscript.com/refguides/interactive-ink/android/1.3/com/myscript/iink/IEditorListener2.html.


Best regards,


Gwenaëlle


1 Comment

Answer

Dear Long Junhao,


Thank you for your question. 


We recommand you implementing the IEditorListener and/or IEditorListener2 to monitor changes in the model. For further details, please check https://developer.myscript.com/docs/interactive-ink/1.3/android/fundamentals/editing/#monitoring-changes-in-the-model and the API documentation https://developer.myscript.com/refguides/interactive-ink/android/1.3/com/myscript/iink/IEditorListener2.html.


Best regards,


Gwenaëlle