Skip to content

list_reloadSections(_:sectionHeaderData:sectionFooterData:sections:with:)_argokit

aisleep edited this page Dec 17, 2020 · 2 revisions

简介

重新加载指定章节数据

声明

func reloadSections(_ sectionData: [[D]]? = nil, sectionHeaderData: [ArgoKitIdentifiable]? = nil, sectionFooterData: [ArgoKitIdentifiable]? = nil, sections: IndexSet, with animation: UITableView.RowAnimation) -> Self where D : ArgoKit.ArgoKitIdentifiable

参数

sectionData

更新指定章节的数据源,数据源必须遵循 ArgoKitIdentifiable 协议

sectionHeaderData

更新指定章节的顶部数据源,数据源必须遵循 ArgoKitIdentifiable 协议

sectionFooterData

更新指定章节的底部数据源,数据源必须遵循 ArgoKitIdentifiable 协议

sections

更新指定章节的索引

animation

更新时的动画类型

Clone this wiki locally