A question on navigating back to launchpad
I am working on a Fiori full screen application with a master view and details view. The navigation is like this: Launchpad->master view->details view.
In the details view controller, I'm using this._oRouter.navTo("main"); to return to master view and it works fine. (using window.history.go(-1); takes me back to the Launchpad which is not the desirable outcome).
The problem I'm having is with the master view controller. Here I'm using window.history.go(-1); and when I try to go back after I get back from the details view, I'm going back to details view instead of Launchpad. Using the back button becomes an endless loop only going back and forth between master and details view. What can I do to fix this?