mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
Deprecated directive removed
This commit is contained in:
@ -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;
|
||||
|
16
application/application.d.ts
vendored
16
application/application.d.ts
vendored
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user