User could add his/her math formula to the history.then i want to show each of them in one editorView . So i could understand length of history at run time .how could i create editorView on run time and assign value to them
thank you for contacting us.
Regarding your use-case, "User could add his/her math formula to the history.then i want to show each of them in one editorView", I am currently not sure to understand? Do you wan to import a string in a math part?
Regarding creating editor at run-time, in our getStarted sample, you can see we set the editorView calling "editorView = findViewById(R.id.editor_view);". This will set the layerViews (Background, Model, Temporary, Capture) and the SmartGuideView. If trying to initialize the editorView programmatically with our current implementation of the EditorView, you then understand these are not set. The solution is then that you update the EditorView.java of the uireferenceimplementation so that you set by yourself the layerviews and SmartGuideView.
thank you for answering.
As the document Said (https://developer.myscript.com/docs/interactive-ink/1.3/android/fundamentals/storage/) i want to save it in List<string> then i want to show each item in an editor view.Is it correct?
I want to do it because editorview shows the item and i think each string item could display in one editorview.
Let me ask you my question directly.insted of
is there any way to create this layer by writing LayerView layer_background=new LayerView(this); ?
thank you for the update.
Currently, you should implement the IRenderTarget.LayerType class: https://developer.myscript.com/refguides/interactive-ink/android/1.3/com/myscript/iink/IRenderTarget.LayerType.html