(left: number, top: number, right: number, bottom: number)
| 754 | } |
| 755 | |
| 756 | public onLayout(left: number, top: number, right: number, bottom: number): void { |
| 757 | super.onLayout(left, top, right, bottom); |
| 758 | |
| 759 | this._map.forEach((childView, listViewCell) => { |
| 760 | const rowHeight = this._effectiveRowHeight; |
| 761 | const cellHeight = rowHeight > 0 ? rowHeight : this.getHeight(childView._listViewItemIndex); |
| 762 | if (cellHeight) { |
| 763 | const width = layout.getMeasureSpecSize(this.widthMeasureSpec); |
| 764 | childView.iosOverflowSafeAreaEnabled = false; |
| 765 | View.layoutChild(this, childView, 0, 0, width, cellHeight); |
| 766 | } |
| 767 | }); |
| 768 | this._headerMap.forEach((childView, listViewHeaderCell) => { |
| 769 | const headerHeight = this.stickyHeaderHeight === 'auto' ? 44 : Length.toDevicePixels(this.stickyHeaderHeight, 44); |
| 770 | const width = layout.getMeasureSpecSize(this.widthMeasureSpec); |
| 771 | childView.iosOverflowSafeAreaEnabled = false; |
| 772 | View.layoutChild(this, childView, 0, 0, width, headerHeight); |
| 773 | }); |
| 774 | } |
| 775 | |
| 776 | private _layoutCell(cellView: View, indexPath: NSIndexPath): number { |
| 777 | if (cellView) { |
nothing calls this directly
no test coverage detected