RemoteViews.Apply(Context, ViewGroup) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
膨脹由此物件所代表的視圖階層,並套用所有動作。
[Android.Runtime.Register("apply", "(Landroid/content/Context;Landroid/view/ViewGroup;)Landroid/view/View;", "GetApply_Landroid_content_Context_Landroid_view_ViewGroup_Handler")]
public virtual Android.Views.View? Apply(Android.Content.Context? context, Android.Views.ViewGroup? parent);
[<Android.Runtime.Register("apply", "(Landroid/content/Context;Landroid/view/ViewGroup;)Landroid/view/View;", "GetApply_Landroid_content_Context_Landroid_view_ViewGroup_Handler")>]
abstract member Apply : Android.Content.Context * Android.Views.ViewGroup -> Android.Views.View
override this.Apply : Android.Content.Context * Android.Views.ViewGroup -> Android.Views.View
參數
- context
- Context
預設上下文
- parent
- ViewGroup
父節點,產生的視圖階層會被附加到該物件上。 這個方法可以強<><>非強附著階層。 來電者應在適當時進行。
傳回
膨脹的視圖階層
- 屬性
備註
Java 文件 android.widget.RemoteViews.apply(android.content.Context, android.view.ViewGroup)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。