title: Widget not responding to setOnClickFillInIntent and setPendingIntentTemplate
body: <p>Click event not triggering in android widget in ListView</p>
  
  <p>I have buttons in each row of the listview in a widget and i would like to make them clickable. I am using setPendingIntentTemplate and setOnClickFillInIntent and i was hoping that the onReceive method would be triggered?</p>
  
  <pre><code>        RemoteViews rv = new RemoteViews(context.getPackageName(), R.layout.my_app_widget);
  
          Intent intent = new Intent(context, MyWidgetRemoteViewsService.class);
  
          rv.setRemoteAdapter(R.id.drinks_list, intent);
  
          PendingIntent pendingIntent = PendingIntent.getActivity(context, appWidgetId, intent, PendingIntent.FLAG_UPDATE_CURRENT);
  
          rv.setPendingIntentTemplate(R.id.drinks_list, pendingIntent);
  
          appWidgetManager.updateAppWidget(appWidgetId, rv);
  </code></pre>
  
  <p>MyAppWidgetRemoteViewsFactory.java</p>
  
  <pre><code>public RemoteViews getViewAt(int position) {
  
      RemoteViews drinks_view = new RemoteViews(mContext.getPackageName(), R.layout.drink_row);
      drinks_view.setTextViewText(R.id.drink_name,  drinkItems.get(position).text);
  
      Bundle extras = new Bundle();
      extras.putInt(MyAppWidget.DRINK_UPDATE, position);
      Intent fillInIntent = new Intent();
      fillInIntent.putExtras(extras);
  
      drinks_view.setOnClickFillInIntent(R.id.minusButton, fillInIntent);
  
      return drinks_view;
  }
  </code></pre>
  
  <p>drink_row.xml</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="wrap_content"
      android:background="@drawable/whiteroundcorner"
      android:layout_height="wrap_content"&gt;
         &lt;Button
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:id="@+id/minusButton"
              android:backgroundTint="#27A9FF"
              android:text="-"
              android:clickable="true"
              android:minWidth="60dp"
              android:textColor="#FFFFFF"
              android:layout_alignParentLeft="true"&gt;
  &lt;/RelativeLayout&gt;
  
  
  
  public class MyWidgetRemoteViewsService extends RemoteViewsService {
      @Override
      public RemoteViewsFactory onGetViewFactory(Intent intent) {
          return new MyAppWidgetRemoteViewsFactory(this.getApplicationContext(),intent);
      }
  }
  
  
  &lt;receiver android:name=".MyAppWidget"&gt;
      &lt;intent-filter&gt;
          &lt;action android:name="android.appwidget.action.APPWIDGET_UPDATE" /&gt;
      &lt;/intent-filter&gt;
      &lt;intent-filter&gt;
          &lt;action android:name="com.developer.drinklogger.EXTRA_ITEM" /&gt;
      &lt;/intent-filter&gt;
  
      &lt;meta-data
          android:name="android.appwidget.provider"
          android:resource="@xml/my_app_widget_info" /&gt;
  &lt;/receiver&gt;
  &lt;service android:name=".MyWidgetRemoteViewsService"
      android:permission="android.permission.BIND_REMOTEVIEWS"&gt;&lt;/service&gt;
  </code></pre>