FrameClass implemented as TypeScript class

NativeActivity is now NativeScriptActivity and is real class
Added NativeScriptApplication class
Added JavaProxy attribute to FrameClass, NativeScriptActivity & NativeScriptApplication
This commit is contained in:
Hristo Hristov
2016-02-29 09:57:45 +02:00
parent 22631ce102
commit 6273bb8d2f
7 changed files with 316 additions and 358 deletions

View File

@@ -347,13 +347,6 @@ declare module "application" {
*/
paused: boolean;
/**
* This method is called by the JavaScript Bridge when navigation to a new activity is triggered.
* @param intent - Native (android) intent used to create the activity.
* Returns com.tns.NativeScriptActivity.extend implementation.
*/
getActivity(intent: any /* android.content.Intent */): any;
/**
* [Deprecated. Please use the respective event instead.] Direct handler of the [onActivityCreated method](http://developer.android.com/reference/android/app/Application.ActivityLifecycleCallbacks.html).
*/