MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / requestLayout

Method requestLayout

packages/core/ui/list-view/index.ios.ts:726–731  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

724 }
725
726 public requestLayout(): void {
727 // When preparing cell or header don't call super - no need to invalidate our measure when cell/header desiredSize is changed.
728 if (!this._preparingCell && !this._preparingHeader) {
729 super.requestLayout();
730 }
731 }
732
733 public measure(widthMeasureSpec: number, heightMeasureSpec: number): void {
734 const changed: boolean = this._currentWidthMeasureSpec !== widthMeasureSpec || this._currentHeightMeasureSpec !== heightMeasureSpec;

Callers 12

onLoadedMethod · 0.95
refreshMethod · 0.95
addChildMethod · 0.45
insertChildMethod · 0.45
removeChildMethod · 0.45
onDockChangedMethod · 0.45
invalidateMethod · 0.45
requestFlexboxLayoutFunction · 0.45
onLeftChangedMethod · 0.45
onTopChangedMethod · 0.45
_addListViewPaddingMethod · 0.45
_prepareHeaderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected