(cellView: View, indexPath: NSIndexPath)
| 774 | } |
| 775 | |
| 776 | private _layoutCell(cellView: View, indexPath: NSIndexPath): number { |
| 777 | if (cellView) { |
| 778 | const rowHeight = this._effectiveRowHeight; |
| 779 | const heightMeasureSpec: number = rowHeight >= 0 ? layout.makeMeasureSpec(rowHeight, layout.EXACTLY) : infinity; |
| 780 | const measuredSize = View.measureChild(this, cellView, this.widthMeasureSpec, heightMeasureSpec); |
| 781 | const height = measuredSize.measuredHeight; |
| 782 | this.setHeight(indexPath.row, height); |
| 783 | |
| 784 | return height; |
| 785 | } |
| 786 | |
| 787 | return this.nativeViewProtected.estimatedRowHeight; |
| 788 | } |
| 789 | |
| 790 | public _prepareCell(cell: ListViewCell, indexPath: NSIndexPath): number { |
| 791 | let cellHeight: number; |
no test coverage detected