AppWidgetHost.CreateView(Context, Int32, AppWidgetProviderInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create the AppWidgetHostView for the given widget.
[Android.Runtime.Register("createView", "(Landroid/content/Context;ILandroid/appwidget/AppWidgetProviderInfo;)Landroid/appwidget/AppWidgetHostView;", "")]
public Android.Appwidget.AppWidgetHostView? CreateView (Android.Content.Context? context, int appWidgetId, Android.Appwidget.AppWidgetProviderInfo? appWidget);
[<Android.Runtime.Register("createView", "(Landroid/content/Context;ILandroid/appwidget/AppWidgetProviderInfo;)Landroid/appwidget/AppWidgetHostView;", "")>]
member this.CreateView : Android.Content.Context * int * Android.Appwidget.AppWidgetProviderInfo -> Android.Appwidget.AppWidgetHostView
Parameters
- context
- Context
- appWidgetId
- Int32
- appWidget
- AppWidgetProviderInfo
Returns
- Attributes
Remarks
Create the AppWidgetHostView for the given widget. The AppWidgetHost retains a pointer to the newly-created View.
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.