title: Why attachPatternMatched not working in first load if it is put in onAfterRendering?
body: <p>I am using <code>echarts</code> in my UI5 App, so I need to wait dom ready and then execute <code>_onObjectMatched</code>, but in first load, <code>_onObjectMatched</code> is triggered if I put it in <code>onInit</code>, but it is not working in <code>onAfterRendering</code>. I put a log in onAfterRendering, so I am pretty sure onAfterRendering is executed, and the later call of <code>_onObjectMatched</code> is OK. BTW, I am building a Master-Detail Page.</p>
  
  <pre><code>onInit : function () {
     this.getRouter().getRoute("object").attachPatternMatched(this._onObjectMatched, this);
  }
  
  onAfterRendering: function () {
     this.getRouter().getRoute("object").attachPatternMatched(this._onObjectMatched, this);
  }
  
  getRouter : function () {
      return sap.ui.core.UIComponent.getRouterFor(this);
  },
  </code></pre>