I'm looking for solution for my case:
I have 2 view.
In 1st view I've created file with words.
User is able to add words to this file in 1st view
2nd view have to display words from file
tableView with onRowRender to display words from file.
If I put initialisation in scene: create, all words(which were created in previous session of app) displayed correctly, but in case if user add new words in 1st view, they will not be displayed in the 2nd view (I think cause in this section initialisation hapens only once)
If I put initialisation of tableView with onRowRender in scene: show
New words which added in 1st view displayed! But after switching from 1st to 2nd view lead to displaying the same words again and again...so, I suppose I have to remove everything what displayed in 2nd view and recreate it again.
How to make this process correctly?
e.g. every time when user switch to view, view have to read words from file and display all of them. After adding new words from other views to the file, new words also should be displayed in our view.