@@ -128,7 +128,6 @@ export abstract class ViewCommon extends ViewBase {
128128 private _measuredWidth : number ;
129129 private _measuredHeight : number ;
130130
131- protected _isLayoutValid : boolean ;
132131 private _cssType : string ;
133132
134133 private _localAnimations : Set < Animation > ;
@@ -1009,7 +1008,7 @@ export abstract class ViewCommon extends ViewBase {
10091008 //END Style property shortcuts
10101009
10111010 get isLayoutValid ( ) : boolean {
1012- return this . _isLayoutValid ;
1011+ return false ;
10131012 }
10141013
10151014 get cssType ( ) : string {
@@ -1070,11 +1069,6 @@ export abstract class ViewCommon extends ViewBase {
10701069 }
10711070 }
10721071
1073- public requestLayout ( ) : void {
1074- this . _isLayoutValid = false ;
1075- super . requestLayout ( ) ;
1076- }
1077-
10781072 public abstract onMeasure ( widthMeasureSpec : number , heightMeasureSpec : number ) : void ;
10791073 public abstract onLayout ( left : number , top : number , right : number , bottom : number ) : void ;
10801074 public abstract layoutNativeView ( left : number , top : number , right : number , bottom : number ) : void ;
@@ -1111,7 +1105,6 @@ export abstract class ViewCommon extends ViewBase {
11111105 * Returns two booleans - the first if "boundsChanged" the second is "sizeChanged".
11121106 */
11131107 _setCurrentLayoutBounds ( left : number , top : number , right : number , bottom : number ) : { boundsChanged : boolean ; sizeChanged : boolean } {
1114- this . _isLayoutValid = true ;
11151108 const boundsChanged : boolean = this . _oldLeft !== left || this . _oldTop !== top || this . _oldRight !== right || this . _oldBottom !== bottom ;
11161109 const sizeChanged : boolean = this . _oldRight - this . _oldLeft !== right - left || this . _oldBottom - this . _oldTop !== bottom - top ;
11171110 this . _oldLeft = left ;
0 commit comments