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

@@ -14,7 +14,7 @@ export class Image extends ImageBase {
super();
//TODO: Think of unified way of setting all the default values.
this._ios = UIImageView.new();
this.nativeView = this._ios = UIImageView.new();
this._ios.contentMode = UIViewContentMode.ScaleAspectFit;
this._ios.userInteractionEnabled = true;
this._setNativeClipToBounds();