Due to specific life-cycle of the activity, I am initializing iInk and package(to a specific file) on activity start but at certain moment im restarting the activity but i cannot get initialize the same file as a package, even though i close it and reinitialize.
Is there a way to check it or something, because i tried several ways but couldnt efficiently handle it without changing the file itself.
I will attach a screenshot with order of life cycle. So after first activity initializes - i am not able to open the same package file again even after releasing. Is there a way to do that? Thank you in advance
thank you for contacting.
I am sorry, but your explanation is not very clear... I am trying to guess what you are trying to do, but I am not sur to understand.
From what I suppose, you created a part, attach it to an editor. Then, re-started the activty... Did you try to re-attach the previous parts to a new editor? Based on the screenshot, it appears your editor does not have any part attached to it...
Please explain, as this is not clear...
You have pointed exactly on a point, editor.setPart resolved the issue!
Greatly appreciate your help!