SwiftUI - StateObject in a row subview is initialised and deinit multiple times when scrolling

前端 未结 0 1659
孤城傲影
孤城傲影 2021-01-02 17:43

I want to add a StateObject to a subview of a row displayed in a sectioned list in order to perform some work and update the subview when a @Published

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