1/ I'm trying to pass information from a Delegate to a View.
File 1:
Ui.pushView(new NavView(), new NavDelegate(), Ui.SLIDE_LEFT);
File 2:
class NavDelegate extends Ui.BehaviorDelegate {
//data can be changed here, I want to send that data to the view below...
}
class NavView extends Ui.View {
//here I want to update the view using the latest data from NavDelegate
}
How do you do that?
2/ I also need to pass information from a Delegate or View to another one which is not related at all (like one that doesn't exist yet, etc...).
In other words, I want to store data in global variable.
3/ Finally, is there any way to store such global variable into the watch memory and recover it at a future run?
Thanks!