mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
NativeView recycled for android
This commit is contained in:
@@ -43,6 +43,8 @@ export class AbsoluteLayoutBase extends LayoutBase implements AbsoluteLayoutDefi
|
||||
}
|
||||
}
|
||||
|
||||
AbsoluteLayoutBase.prototype.recycleNativeView = true;
|
||||
|
||||
export const leftProperty = new Property<View, Length>({
|
||||
name: "left", defaultValue: zeroLength,
|
||||
valueChanged: (target, oldValue, newValue) => {
|
||||
@@ -65,4 +67,4 @@ export const topProperty = new Property<View, Length>({
|
||||
}
|
||||
}, valueConverter: (v) => Length.parse(v)
|
||||
});
|
||||
topProperty.register(View);
|
||||
topProperty.register(View);
|
||||
Reference in New Issue
Block a user