Język

AppWidgetHostView.UpdateAppWidget(RemoteViews) Method

Definition

Process a set of RemoteViews coming in as an update from the AppWidget provider.

[Android.Runtime.Register("updateAppWidget", "(Landroid/widget/RemoteViews;)V", "GetUpdateAppWidget_Landroid_widget_RemoteViews_Handler")]
public virtual void UpdateAppWidget(Android.Widget.RemoteViews? remoteViews);
[<Android.Runtime.Register("updateAppWidget", "(Landroid/widget/RemoteViews;)V", "GetUpdateAppWidget_Landroid_widget_RemoteViews_Handler")>]
abstract member UpdateAppWidget : Android.Widget.RemoteViews -> unit
override this.UpdateAppWidget : Android.Widget.RemoteViews -> unit

Parameters

remoteViews
RemoteViews

The remote views from the provider to display, or null to display the default view.

Attributes

Remarks

Process a set of RemoteViews coming in as an update from the AppWidget provider. Will animate into these new views as needed

Java documentation for android.appwidget.AppWidgetHostView.updateAppWidget(android.widget.RemoteViews).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to