In my app I repeatedly do go through certain pages, and re-load them at a later point.
I want to make it so that each time I re-enter a page, it starts off with everything in the same state.
In B4A this was easy as I could create elements in Global, and they get destroyed upon exit from the Activity and created fresh on re-entry.
Since all the variables and views in b4i seem to be global, I can't do this. It's particularly problematical because I rely on the designer scripts to do a log of initialisation.
So, is there any way I can de-init everything other than manually settings each element back to it's starting point in a Disappear function?
I want to make it so that each time I re-enter a page, it starts off with everything in the same state.
In B4A this was easy as I could create elements in Global, and they get destroyed upon exit from the Activity and created fresh on re-entry.
Since all the variables and views in b4i seem to be global, I can't do this. It's particularly problematical because I rely on the designer scripts to do a log of initialisation.
So, is there any way I can de-init everything other than manually settings each element back to it's starting point in a Disappear function?