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

@ -7,6 +7,8 @@ export class HtmlViewBase extends View implements HtmlViewDefinition {
public html: string;
}
HtmlViewBase.prototype.recycleNativeView = true;
// TODO: Can we use Label.ios optimization for affectsLayout???
export const htmlProperty = new Property<HtmlViewBase, string>({ name: "html", defaultValue: "", affectsLayout: true });
htmlProperty.register(HtmlViewBase);
htmlProperty.register(HtmlViewBase);