FragmentTransaction.Show(Fragment) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
顯示先前隱藏的碎片。
[Android.Runtime.Register("show", "(Landroid/app/Fragment;)Landroid/app/FragmentTransaction;", "GetShow_Landroid_app_Fragment_Handler")]
public abstract Android.App.FragmentTransaction? Show(Android.App.Fragment? fragment);
[<Android.Runtime.Register("show", "(Landroid/app/Fragment;)Landroid/app/FragmentTransaction;", "GetShow_Landroid_app_Fragment_Handler")>]
abstract member Show : Android.App.Fragment -> Android.App.FragmentTransaction
參數
- fragment
- Fragment
要展示的碎片。
傳回
回傳相同的 FragmentTransaction 實例。
- 屬性
備註
顯示先前隱藏的碎片。 這只適用於已加入容器的片段,因為這會導致該視圖被顯示。
Android 參考資料。android.app.FragmentTransaction.show
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。