Fragment.OnActivityCreated(Bundle) Fragment.OnActivityCreated(Bundle) Method


Called when the fragment's activity has been created and this fragment's view hierarchy instantiated.

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


Bundle Bundle

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


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