Język

Fragment.OnResume Method

Definition

Called when the fragment enters the resumed state.

[Android.Runtime.Register("onResume", "()V", "GetOnResumeHandler")]
public virtual void OnResume();
[<Android.Runtime.Register("onResume", "()V", "GetOnResumeHandler")>]
abstract member OnResume : unit -> unit
override this.OnResume : unit -> unit
Attributes

Remarks

Called when the fragment enters the resumed state. This is generally tied to OnResume() of the containing activity. A resumed fragment can still be hidden or have no view. If you override this method, call the base implementation.

Android reference for android.app.Fragment.onResume.

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