We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0c400e commit 4317e70Copy full SHA for 4317e70
Sources/DataSources/TableViewSectionedDataSource.swift
@@ -128,6 +128,12 @@ public class RxTableViewSectionedDataSource<S: SectionModelType>
128
return self._sectionModels[indexPath.section].items[indexPath.item]
129
}
130
131
+ public func setItem(item item: I, indexPath: NSIndexPath) {
132
+ var section = self._sectionModels[indexPath.section]
133
+ section.items[indexPath.item] = item
134
+ self._sectionModels[indexPath.section] = section
135
+ }
136
+
137
public func modelAtIndexPath(indexPath: NSIndexPath) throws -> Any {
138
return itemAtIndexPath(indexPath)
139
0 commit comments