-
Notifications
You must be signed in to change notification settings - Fork 207
list_reloadData(_:sectionHeaderData:sectionFooterData:)_argokit
aisleep edited this page Dec 17, 2020
·
2 revisions
重新加载单章节数据
func reloadData(_ data: [D]? = nil, sectionHeaderData: ArgoKitIdentifiable? = nil, sectionFooterData: ArgoKitIdentifiable? = nil) -> Self where D : ArgoKit.ArgoKitIdentifiable
data
更新的每行数据源,数据源必须遵循 ArgoKitIdentifiable 协议
sectionHeaderData
更新的章节顶部数据源,数据源必须遵循 ArgoKitIdentifiable 协议
sectionFooterData
更新的章节底部数据源,数据源必须遵循 ArgoKitIdentifiable 协议