Reacting to browser page refresh event


Is there any way we can react to when someone refreshes the page in their browser? I would like too refresh the datasources of screens when that happens.

Hello @bartekspitza

You can subscribe to UIRefreshEvent in screen controller to react to each web page refresh.

public class RespMainScreen extends MainScreen {

    public void onUIRefresh(UIRefreshEvent event) {
          //do something


Wow, thats awesome to hear. Thank you!