次の方法で共有


FragmentManager.FragmentLifecycleCallbacks.OnFragmentActivityCreated Method

Definition

Called after the fragment has returned from the FragmentManager's call to Fragment#onActivityCreated(Bundle).

[Android.Runtime.Register("onFragmentActivityCreated", "(Landroid/app/FragmentManager;Landroid/app/Fragment;Landroid/os/Bundle;)V", "GetOnFragmentActivityCreated_Landroid_app_FragmentManager_Landroid_app_Fragment_Landroid_os_Bundle_Handler", ApiSince=26)]
public virtual void OnFragmentActivityCreated (Android.App.FragmentManager fm, Android.App.Fragment f, Android.OS.Bundle savedInstanceState);
[<Android.Runtime.Register("onFragmentActivityCreated", "(Landroid/app/FragmentManager;Landroid/app/Fragment;Landroid/os/Bundle;)V", "GetOnFragmentActivityCreated_Landroid_app_FragmentManager_Landroid_app_Fragment_Landroid_os_Bundle_Handler", ApiSince=26)>]
abstract member OnFragmentActivityCreated : Android.App.FragmentManager * Android.App.Fragment * Android.OS.Bundle -> unit
override this.OnFragmentActivityCreated : Android.App.FragmentManager * Android.App.Fragment * Android.OS.Bundle -> unit

Parameters

fm
FragmentManager

Host FragmentManager

f
Fragment

Fragment changing state

savedInstanceState
Bundle

Saved instance bundle from a previous instance

Attributes

Remarks

Called after the fragment has returned from the FragmentManager's call to Fragment#onActivityCreated(Bundle). This will only happen once for any given fragment instance, though the fragment may be attached and detached multiple times.

Java documentation for android.app.FragmentManager.FragmentLifecycleCallbacks.onFragmentActivityCreated(android.app.FragmentManager, android.app.Fragment, android.os.Bundle).

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