title: SAPUI5 get current context in detail view
body: <p>I have a SAPUI5 split-app with a master- and detail-view.</p>
  
  <p>When I select an item in the side bar, I pass the context to the detail view, lets say product 1 </p>
  
  <pre><code>onSelectProduct: function(evt){
      sap.ui.getCore().getEventBus().publish("app", "refreshProductDetail", {context : evt.getSource( ).getBindingContext()});   
  
  },
  </code></pre>
  
  <p>this triggers following function which binds the context:</p>
  
  <pre><code>refresh: function(channelId, eventId, data){
      if (data &amp;&amp; data.context) {
          this.getView().setBindingContext(data.context);
      }
  },
  </code></pre>
  
  <p>Now when I perform an action like save, I want to get the current data of product 1 that is in the model. </p>
  
  <p>However, when I use </p>
  
  <pre><code>this.getView().getBindingContext().getModel()
  </code></pre>
  
  <p>it returns the model with all the products. How do I know which one is currently being viewed by the user?</p>