Android.Appwidget.AppWidgetHostView.SetAppWidget Method
Set the AppWidget that will be displayed by this view.

Syntax

[Android.Runtime.Register("setAppWidget", "(ILandroid/appwidget/AppWidgetProviderInfo;)V", "GetSetAppWidget_ILandroid_appwidget_AppWidgetProviderInfo_Handler")]
public virtual void SetAppWidget (int appWidgetId, AppWidgetProviderInfo info)

Parameters

appWidgetId
Documentation for this section has not yet been entered.
info
Documentation for this section has not yet been entered.

Remarks

Set the AppWidget that will be displayed by this view. This method also adds default padding to widgets, as described in AppWidgetHostView.GetDefaultPaddingForWidget(Android.Content.Context, Android.Content.ComponentName, Android.Content.ComponentName) and can be overridden in order to add custom padding.

[Android Documentation]

Requirements

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