Aracılığıyla paylaş


Fragment.IsStateSaved Property

Definition

Returns true if this fragment is added and its state has already been saved by its host.

public bool IsStateSaved { [Android.Runtime.Register("isStateSaved", "()Z", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("isStateSaved", "()Z", "", ApiSince=26)>]
member this.IsStateSaved : bool

Property Value

true if this fragment's state has already been saved by its host

Attributes

Remarks

Returns true if this fragment is added and its state has already been saved by its host. Any operations that would change saved state should not be performed if this method returns true, and some operations such as #setArguments(Bundle) will fail.

Java documentation for android.app.Fragment.isStateSaved().

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.

Applies to