Udostępnij za pośrednictwem


AppWidgetManager.NotifyAppWidgetViewDataChanged Method

Definition

Overloads

NotifyAppWidgetViewDataChanged(Int32, Int32)

Notifies the specified collection view in the specified AppWidget instance to invalidate its data.

NotifyAppWidgetViewDataChanged(Int32[], Int32)

Notifies the specified collection view in all the specified AppWidget instances to invalidate their data.

NotifyAppWidgetViewDataChanged(Int32, Int32)

Notifies the specified collection view in the specified AppWidget instance to invalidate its data.

[Android.Runtime.Register("notifyAppWidgetViewDataChanged", "(II)V", "GetNotifyAppWidgetViewDataChanged_IIHandler")]
public virtual void NotifyAppWidgetViewDataChanged (int appWidgetId, int viewId);
[<Android.Runtime.Register("notifyAppWidgetViewDataChanged", "(II)V", "GetNotifyAppWidgetViewDataChanged_IIHandler")>]
abstract member NotifyAppWidgetViewDataChanged : int * int -> unit
override this.NotifyAppWidgetViewDataChanged : int * int -> unit

Parameters

appWidgetId
Int32

The AppWidget instance to notify of view data changes.

viewId
Int32

The collection view id.

Attributes

Remarks

Notifies the specified collection view in the specified AppWidget instance to invalidate its data.

Java documentation for android.appwidget.AppWidgetManager.notifyAppWidgetViewDataChanged(int, int).

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

NotifyAppWidgetViewDataChanged(Int32[], Int32)

Notifies the specified collection view in all the specified AppWidget instances to invalidate their data.

[Android.Runtime.Register("notifyAppWidgetViewDataChanged", "([II)V", "GetNotifyAppWidgetViewDataChanged_arrayIIHandler")]
public virtual void NotifyAppWidgetViewDataChanged (int[]? appWidgetIds, int viewId);
[<Android.Runtime.Register("notifyAppWidgetViewDataChanged", "([II)V", "GetNotifyAppWidgetViewDataChanged_arrayIIHandler")>]
abstract member NotifyAppWidgetViewDataChanged : int[] * int -> unit
override this.NotifyAppWidgetViewDataChanged : int[] * int -> unit

Parameters

appWidgetIds
Int32[]

The AppWidget instances to notify of view data changes.

viewId
Int32

The collection view id.

Attributes

Remarks

Notifies the specified collection view in all the specified AppWidget instances to invalidate their data.

Java documentation for android.appwidget.AppWidgetManager.notifyAppWidgetViewDataChanged(int[], int).

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