I am trying to develop a mobile application using flex. Whenever I use 'navigator.popView()' to go back to the last view that was shown, it loads a new view on to the screen, instead of using the old one itself. On the first screen, I have a TextInput into which I enter some text, when I push next and then push back the TextInput is empty. I want to retain the text in the TextInput.
Asked
Active
Viewed 148 times
1 Answers
0
It is advisable not to keep views in memory by default, so discarding old views and creating new ones is really the desired behavior. You should bind the content of your TextInput to a variable and store and retrieve only its text value.

weltraumpirat
- 22,544
- 5
- 40
- 54
-
Ok. But then is it possible to override this behavior, so that it will keep the view in memory. – frewper May 14 '12 at 12:43
-
Why? Just bind the input value! – weltraumpirat May 14 '12 at 15:06