I have created a List using swiftUI
List(landmarkData, id: \.id) { landmark in
LandmarkRow(landmark: landmark)
}
Is swifitUI List
reuse cell?
I have created a List using swiftUI
List(landmarkData, id: \.id) { landmark in
LandmarkRow(landmark: landmark)
}
Is swifitUI List
reuse cell?
if you are using List it "automatically" reuses your "Row". This is not the case if you are using ScrollView -> ForEach