title: Cancelling a PendingIntent
body: <p>When using a PendingIntent in an <code>AppWidgetProvider</code>, I'm using the following code:</p>
  
  <pre><code>views.setOnClickPendingIntent( viewId,
                  PendingIntent.getBroadcast( context, 0, intent,
                  PendingIntent.FLAG_UPDATE_CURRENT ) );
  </code></pre>
  
  <p>So currently there's no reference kept to the PendingIntent returned by the getBroadcast method. In a specific situation I now want to cancel the PendingIntent. Is there any way of getting the PendingIntent back from the View? Or is the only way to call the cancel method of the PendingIntent afterwards by keeping a reference to it?</p>