(oldParent: ViewBase)
| 1420 | } |
| 1421 | |
| 1422 | public _parentChanged(oldParent: ViewBase): void { |
| 1423 | const newParent = this.parent; |
| 1424 | |
| 1425 | //Overridden |
| 1426 | if (oldParent) { |
| 1427 | clearInheritedProperties(this); |
| 1428 | if (this.bindingContextBoundToParentBindingContextChanged) { |
| 1429 | oldParent.off('bindingContextChange', this.bindingContextChanged, this); |
| 1430 | } |
| 1431 | } else if (this.shouldAddHandlerToParentBindingContextChanged) { |
| 1432 | newParent.on('bindingContextChange', this.bindingContextChanged, this); |
| 1433 | this.bindings.get('bindingContext').bind(newParent.bindingContext); |
| 1434 | } |
| 1435 | } |
| 1436 | |
| 1437 | public onResumeNativeUpdates(): void { |
| 1438 | // Apply native setters... |
nothing calls this directly
no test coverage detected