Application.IActivityLifecycleCallbacks.OnActivityCreated Method

Definition

Called when the Activity calls Activity#onCreate super.onCreate().

[Android.Runtime.Register("onActivityCreated", "(Landroid/app/Activity;Landroid/os/Bundle;)V", "GetOnActivityCreated_Landroid_app_Activity_Landroid_os_Bundle_Handler:Android.App.Application/IActivityLifecycleCallbacksInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnActivityCreated (Android.App.Activity activity, Android.OS.Bundle? savedInstanceState);
[<Android.Runtime.Register("onActivityCreated", "(Landroid/app/Activity;Landroid/os/Bundle;)V", "GetOnActivityCreated_Landroid_app_Activity_Landroid_os_Bundle_Handler:Android.App.Application/IActivityLifecycleCallbacksInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnActivityCreated : Android.App.Activity * Android.OS.Bundle -> unit

Parameters

activity
Activity
savedInstanceState
Bundle
Attributes

Remarks

Called when the Activity calls Activity#onCreate super.onCreate().

Java documentation for android.app.Application.ActivityLifecycleCallbacks.onActivityCreated(android.app.Activity, 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