Files
NativeScript/tns-core-modules/ui/placeholder/placeholder.android.ts
Hristo Hristov c18a76c93a rename:
_createNativeView to createNativeView;
_initNativeView to initNativeView
_disposeNativeView to disposeNativeView
_resetNativeView to resetNativeView
2017-03-28 18:08:59 +03:00

12 lines
498 B
TypeScript

import { Placeholder as PlaceholderDefinition, CreateViewEventData } from "."
import { View } from "../core/view"
export class Placeholder extends View implements PlaceholderDefinition {
public static creatingViewEvent = "creatingView";
public createNativeView() {
let args = <CreateViewEventData>{ eventName: Placeholder.creatingViewEvent, object: this, view: undefined, context: this._context };
this.notify(args);
return <android.view.View>args.view;
}
}