title: onAfterRendering call before data views loaded, use factory
body: <p>I have a typical Controller and a JS-View.</p>
  
  <p>In the View I used a factory function to build an item list like this:</p>
  
  <pre><code>new sap.m.List(this.createId("myList"), {
      noDataText: "{i18n&gt;textNoData}",
      items: {
          path: "/PathToServiceApp",
          sorter: new sap.ui.model.Sorter("Date"),
          factory: this.itemFactory.bind(this)
      }
  });
  
  this.itemFactory: function (sId, oContext) {
      ...
  },
  </code></pre>
  
  <p>and in the Controller I used the <code>onAfterRendering</code> live cycle method:</p>
  
  <pre><code>onAfterRendering: function () {
      ...
  }
  </code></pre>
  
  <p>Problem: <code>onAfterRendering</code> is called before the View gets data from the path "/PathToServiceApp".</p>
  
  <p>Any idea how to call <code>onAfterRendering</code> after data is loaded and DOM elements are created?</p>