import { Placeholder as PlaceholderDefinition, CreateViewEventData } from "ui/placeholder" import { View } from "ui/core/view" export class Placeholder extends View implements PlaceholderDefinition { public static creatingViewEvent = "creatingView"; private _android: android.view.View; public _createNativeView() { let args = { eventName: Placeholder.creatingViewEvent, object: this, view: undefined, context: this._context }; this.notify(args); this._android = args.view; } get android(): android.view.View { return this._android; } get _nativeView(): android.view.View { return this._android; } }