When using a simple SwiftUI List, the rows will be loaded lazy (not all at once) BUT: When having a ViewBuilder in place for each Row in the List all views are loaded at once (not lazy) Something like
@ViewBuilder
var content: some View {
switch building.kind {
case .condo:
Text("Condo \(building.index)")
case .house:
Text("House \(building.index)")
case .warehouse:
Text("Warehouse \(building.index)")
}
}
Is this behavior correct and intended ?