How to display a loading indicator during new page loading


I would like to show some loading indicator during page loading. However, using “initialPageSettings.getLoadingIndicatorConfiguration().setApplyDefaultTheme( true )” only makes it work in target navigation. I couldn’t get the loading indicator shown during page reloading or forwarding. Any advices of how to do that?

Best regards,