- viewId
- The id of the view that will trigger the Android.App.PendingIntent when clicked
- pendingIntent
- The Android.App.PendingIntent to send when user clicks
Equivalent to calling Android.Views.View.SetOnClickListener(.IOnClickListener) to launch the provided Android.App.PendingIntent. When setting the on-click action of items within collections (eg. Android.Widget.ListView, Android.Widget.StackView etc.), this method will not work. Instead, use {@link RemoteViews#setPendingIntentTemplate(int, PendingIntent) in conjunction with RemoteViews#setOnClickFillInIntent(int, Intent).