SwiftUI List NavigationLink initializes all detail views

后端 未结 0 1759
旧时难觅i
旧时难觅i 2020-11-21 15:47

I have this code:

import SwiftUI
import Combine

struct ContentView: View {
let items = [
    Item(name: "Name 1"),
    Item(name: "Name 2"         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题