FragmentController.RetainNonConfig 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
deprecated
回傳一份選擇在設定變更中保留實例的片段清單。
[Android.Runtime.Register("retainNonConfig", "()Ljava/util/List;", "GetRetainNonConfigHandler", ApiSince=23)]
[System.Obsolete("deprecated")]
public virtual System.Collections.Generic.IList<Android.App.Fragment>? RetainNonConfig();
[<Android.Runtime.Register("retainNonConfig", "()Ljava/util/List;", "GetRetainNonConfigHandler", ApiSince=23)>]
[<System.Obsolete("deprecated")>]
abstract member RetainNonConfig : unit -> System.Collections.Generic.IList<Android.App.Fragment>
override this.RetainNonConfig : unit -> System.Collections.Generic.IList<Android.App.Fragment>
傳回
- 屬性
備註
此方法在 API 等級 24 被棄用。 使用 retainNestedNonConfig() 來追蹤保留巢狀的子節點
回傳一份選擇在設定變更中保留實例的片段清單。
Android 參考資料。android.app.FragmentController.retainNonConfig
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。