diff --git a/application/application.android.ts b/application/application.android.ts index e4e6ce713..ea9b0b613 100644 --- a/application/application.android.ts +++ b/application/application.android.ts @@ -153,44 +153,20 @@ export class AndroidApplication extends observable.Observable implements dts.And public packageName: string; public hasActionBar: boolean; - /* tslint:disable */ - @Deprecated - /* tslint:enable */ public onActivityCreated: (activity: android.app.Activity, bundle: android.os.Bundle) => void; - /* tslint:disable */ - @Deprecated - /* tslint:enable */ public onActivityDestroyed: (activity: android.app.Activity) => void; - /* tslint:disable */ - @Deprecated - /* tslint:enable */ public onActivityStarted: (activity: android.app.Activity) => void; - /* tslint:disable */ - @Deprecated - /* tslint:enable */ public onActivityPaused: (activity: android.app.Activity) => void; - /* tslint:disable */ - @Deprecated - /* tslint:enable */ public onActivityResumed: (activity: android.app.Activity) => void; - /* tslint:disable */ - @Deprecated - /* tslint:enable */ public onActivityStopped: (activity: android.app.Activity) => void; - /* tslint:disable */ - @Deprecated - /* tslint:enable */ public onSaveActivityState: (activity: android.app.Activity, bundle: android.os.Bundle) => void; - /* tslint:disable */ - @Deprecated - /* tslint:enable */ public onActivityResult: (requestCode: number, resultCode: number, data: android.content.Intent) => void; private _eventsToken: any; diff --git a/application/application.d.ts b/application/application.d.ts index 9cbb7497c..876373be7 100644 --- a/application/application.d.ts +++ b/application/application.d.ts @@ -304,42 +304,42 @@ declare module "application" { getActivity(intent: android.content.Intent): any; /** - * Direct handler of the [onActivityCreated method](http://developer.android.com/reference/android/app/Application.ActivityLifecycleCallbacks.html). + * [Deprecated. Please use the respective event instead.] Direct handler of the [onActivityCreated method](http://developer.android.com/reference/android/app/Application.ActivityLifecycleCallbacks.html). */ onActivityCreated: (activity: android.app.Activity, bundle: android.os.Bundle) => void; /** - * Direct handler of the [onActivityDestroyed method](http://developer.android.com/reference/android/app/Application.ActivityLifecycleCallbacks.html). + * [Deprecated. Please use the respective event instead.] Direct handler of the [onActivityDestroyed method](http://developer.android.com/reference/android/app/Application.ActivityLifecycleCallbacks.html). */ onActivityDestroyed: (activity: android.app.Activity) => void; /** - * Direct handler of the [onActivityDestroyed method](http://developer.android.com/reference/android/app/Application.ActivityLifecycleCallbacks.html). + * [Deprecated. Please use the respective event instead.] Direct handler of the [onActivityDestroyed method](http://developer.android.com/reference/android/app/Application.ActivityLifecycleCallbacks.html). */ onActivityStarted: (activity: android.app.Activity) => void; /** - * Direct handler of the [onActivityPaused method](http://developer.android.com/reference/android/app/Application.ActivityLifecycleCallbacks.html). + * [Deprecated. Please use the respective event instead.] Direct handler of the [onActivityPaused method](http://developer.android.com/reference/android/app/Application.ActivityLifecycleCallbacks.html). */ onActivityPaused: (activity: android.app.Activity) => void; /** - * Direct handler of the [onActivityResumed method](http://developer.android.com/reference/android/app/Application.ActivityLifecycleCallbacks.html). + * [Deprecated. Please use the respective event instead.] Direct handler of the [onActivityResumed method](http://developer.android.com/reference/android/app/Application.ActivityLifecycleCallbacks.html). */ onActivityResumed: (activity: android.app.Activity) => void; /** - * Direct handler of the [onActivityStopped method](http://developer.android.com/reference/android/app/Application.ActivityLifecycleCallbacks.html). + * [Deprecated. Please use the respective event instead.] Direct handler of the [onActivityStopped method](http://developer.android.com/reference/android/app/Application.ActivityLifecycleCallbacks.html). */ onActivityStopped: (activity: android.app.Activity) => void; /** - * Direct handler of the [onActivitySaveInstanceState method](http://developer.android.com/reference/android/app/Application.ActivityLifecycleCallbacks.html). + * [Deprecated. Please use the respective event instead.] Direct handler of the [onActivitySaveInstanceState method](http://developer.android.com/reference/android/app/Application.ActivityLifecycleCallbacks.html). */ onSaveActivityState: (activity: android.app.Activity, bundle: android.os.Bundle) => void; /** - * Direct handler of the onActivityResult method. + * [Deprecated. Please use the respective event instead.] Direct handler of the onActivityResult method. */ onActivityResult: (requestCode: number, resultCode: number, data: android.content.Intent) => void;