You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optimize TopTotalsCell to add rows only when the cell loads
TopTotalsCell was calling addRows on every configuration of cell which in turn created and added a hierarchy of UIStackView-based views.
Optimizing TopTotalsCell to only add rows once and then make manipulations on existing rows.
view.showSeparator = index !=(numberOfRowsToAdd -1)
142
+
default:
143
+
view.isHidden =true
144
+
}
145
+
}
146
+
147
+
privatefunc configureViewMoreRow(_ viewMoreRow:ViewMoreRow, at index:Int, in dataRows:[StatsTotalRowData], withConfiguration configuration:StatsTotalRowConfiguration){
0 commit comments