Android.Appwidget.AppWidgetManager.PartiallyUpdateAppWidget Method
Perform an incremental update or command on the widget(s) specified by appWidgetIds.

Syntax

[Android.Runtime.Register("partiallyUpdateAppWidget", "([ILandroid/widget/RemoteViews;)V", "GetPartiallyUpdateAppWidget_arrayILandroid_widget_RemoteViews_Handler")]
public virtual void PartiallyUpdateAppWidget (int[] appWidgetIds, Android.Widget.RemoteViews views)

Parameters

appWidgetIds
The AppWidget instances for which to set the RemoteViews.
views
The RemoteViews object containing the incremental update / command.

Remarks

Perform an incremental update or command on the widget(s) specified by appWidgetIds.

This update differs from AppWidgetManager.UpdateAppWidget(Int32[], Android.Widget.RemoteViews) in that the RemoteViews object which is passed is understood to be an incomplete representation of the widget, and hence does not replace the cached representation of the widget. As of API level 17, the new properties set within the views objects will be appended to the cached representation of the widget, and hence will persist. Use with Android.Widget.RemoteViews.ShowNext(int), Android.Widget.RemoteViews.ShowPrevious(int), Android.Widget.RemoteViews.SetScrollPosition(int, System.Int32) and similar commands.

It is okay to call this method both inside an AppWidgetManager.ActionAppwidgetUpdate broadcast, and outside of the handler. This method will only work when called from the uid that owns the AppWidget provider.

This method will be ignored if a widget has not received a full update via AppWidgetManager.UpdateAppWidget(Int32[], Android.Widget.RemoteViews).

[Android Documentation]

Requirements

Namespace: Android.Appwidget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11