NativeView recycled for android

This commit is contained in:
Hristo Hristov
2017-03-28 12:48:19 +03:00
parent 5e555bcfd4
commit f2898f84d5
114 changed files with 1480 additions and 1391 deletions

View File

@@ -3,19 +3,15 @@ import { LayoutBase } from "./layout-base";
export * from "./layout-base";
export class Layout extends LayoutBase implements LayoutDefinition {
private _view: UIView;
nativeView: UIView;
constructor() {
super();
this._view = UIView.new();
this.nativeView = UIView.new();
}
get ios(): UIView {
return this._view;
}
get _nativeView(): UIView {
return this._view;
return this.nativeView;
}
public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void {