Fragment.OnCreate(Bundle) Fragment.OnCreate(Bundle) Method

Definition

Called to do initial creation of a fragment.

[Android.Runtime.Register("onCreate", "(Landroid/os/Bundle;)V", "GetOnCreate_Landroid_os_Bundle_Handler")]
public virtual void OnCreate (Android.OS.Bundle savedInstanceState);
abstract member OnCreate : Android.OS.Bundle -> unit
override this.OnCreate : Android.OS.Bundle -> unit

Parameters

savedInstanceState
Bundle Bundle

If the fragment is being re-created from a previous saved state, this is the state.

Remarks

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