()
| 669 | } |
| 670 | |
| 671 | ngAfterContentInit() { |
| 672 | this._viewRepeater = |
| 673 | this.recycleRows || this._virtualScrollEnabled() |
| 674 | ? new _RecycleViewRepeaterStrategy() |
| 675 | : new _DisposeViewRepeaterStrategy(); |
| 676 | |
| 677 | if (this._virtualScrollEnabled()) { |
| 678 | this._setupVirtualScrolling(this._virtualScrollViewport!); |
| 679 | } |
| 680 | |
| 681 | this._hasInitialized = true; |
| 682 | } |
| 683 | |
| 684 | ngAfterContentChecked() { |
| 685 | // Only start re-rendering in `ngAfterContentChecked` after the first render. |
nothing calls this directly
no test coverage detected