Språk

Fragment.IsResumed Property

Definition

Return true if the fragment is in the resumed state.

public bool IsResumed { [Android.Runtime.Register("isResumed", "()Z", "")] get; }
[<get: Android.Runtime.Register("isResumed", "()Z", "")>]
member this.IsResumed : bool

Property Value

true if the fragment is in the resumed state; otherwise, false.

Attributes

Remarks

Returns true while the fragment is in the resumed state, including during OnResume(). On API levels 21 through 23, this property remains true during OnPause() and becomes false after that callback returns. On API level 24 and later, it becomes false before OnPause is called.

Android reference for android.app.Fragment.isResumed.

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