I'm helping a colleague that is extending a Fiori Elements application with a custom facet(?). He needs to set the binding of a list when the detail page loads. I thought that the most straight forward way to do it was using the router, and attachPatternMatched on the detail route, in onInit. But when doing this, it doesn't fire on the first navigation, where the view is initialised. On all subsequent navigations, it works as intended. Are we doing something wrong, and is there some quirk of Fiori Elements that creates this behaviour?
We are using SAPUI5 v1.60.15.