FragmentController.AttachHost(Fragment) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將主機連接到此控制器的 FragmentManager。
[Android.Runtime.Register("attachHost", "(Landroid/app/Fragment;)V", "GetAttachHost_Landroid_app_Fragment_Handler", ApiSince=23)]
public virtual void AttachHost(Android.App.Fragment? parent);
[<Android.Runtime.Register("attachHost", "(Landroid/app/Fragment;)V", "GetAttachHost_Landroid_app_Fragment_Handler", ApiSince=23)>]
abstract member AttachHost : Android.App.Fragment -> unit
override this.AttachHost : Android.App.Fragment -> unit
參數
- parent
- Fragment
Fragment
- 屬性
備註
將主機連接到此控制器的 FragmentManager。 主機必須先連接,FragmentManager 才能用來管理碎片。
Android 參考資料。android.app.FragmentController.attachHost
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。