I have always tried with few available apis to bring back the screen to the same state as before the user has keyed in any values
i.e. all input fields cleared when the user navigates back and forth. But the ones i have tried have not worked.
Let me explain with an example, i am in a create screen, user keys in value and saves, the user is directed to the list screen upon successful save.
The user wants to create another record and comes back to create screen using menu, in here the screen retains the previously entered values.
How do I refresh or clear using ready apis without programatically clearing each field.
Is there any api that can do this in a single call...
If you do not want to programmatically clear, - another my way of doing is to remove the previous screen, and later if the user want to go back to the same screen, add the child again.
viewStack.addChildAt(new childRef, _locationNumber);
any more ideas any one...there should be a way....invalidateScreen or something....???