title: SAPUI5: Handle click events properly
body: <p>I am using the SAPUI5 control <code>GenericTile</code> and added both <code>headerImage</code> and <code>click</code> event. When this icon is clicked, the event handler of the tile is triggered first so that I am not able to react on the icon click itself (which should perform another action of course).</p>
  <pre><code>var oGenericTile = new sap.suite.ui.commons.GenericTile({
                  frameType: &quot;TwoByOne&quot;,
                  header: &quot;My HEader&quot;,
                  headerImage: &quot;sap-icon://settings&quot;,
                  tileContent: oTileContent
              });
  
  oGenericTile._oImage.attachPress(function(oEvent) {
                  sap.m.MessageToast.show(&quot;Icon has been pressed&quot;);
                  oEvent.cancelBubble();
                  oEvent.preventDefault();
              });
  
              oGenericTile.attachPress(function() {
                  sap.m.MessageToast.show(&quot;I am always triggered first!!!   :-(&quot;);
              });`
  </code></pre>
  <p>Any idea how I can avoid this?</p>