How can we refresh a view each time it is rendered on screen.
for example if a view is rendered on screen when button is clicked it should be loaded again on click action of button each time button is pressed,
Printable View
How can we refresh a view each time it is rendered on screen.
for example if a view is rendered on screen when button is clicked it should be loaded again on click action of button each time button is pressed,
If you're showing a store with autoLoad = true, it should redisplay the onscreen portion when the data is refreshed. If you need to re-render the UI elements on the view, use a combination of removing them from the view and various set() methods to modify their appearance. It's probably better to pop or remove the entire view, and then re-create and push it once the appropriate data structure is rebuilt in memory.
This is just general advice - I don't think you'll get much more without giving a better idea of what you're trying to do.