Reload app

When the “orientationchange” method is called, I need to re-load and change only the UI and not re-load also the url. How can I do?
Thanks in advance

Hi,

Basically, you can call the view.show() method, but it will include changing app url and rebuilding it according to this url.

There’s also a app.refresh() method, which can repaint the UI of the whole app.

Also, if you need to re-paint the view UI depending on a particular setting, you can follow this discussion for the details.