Share via


Fragment.OnStart Method

Definition

Called when the Fragment is visible to the user.

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

Remarks

Called when the Fragment is visible to the user. This is generally tied to Activity#onStart() Activity.onStart of the containing Activity's lifecycle.

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

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