Skip to content

performBatchUpdates method doesn't perform batch updates #29

@vldalx

Description

@vldalx

RxSwiftCommunity/RxDataSources#271 issue relates to this library as well.
The same problem with RxASTableAnimatedDataSource. It performs separately each update from the batch.

for difference in differences {
dataSource.setSections(difference.finalSections)
tableNode.performBatchUpdates(difference, animated: self.animated, animationConfiguration: self.animationConfiguration)
}

public func performBatchUpdates<S>(_ changes: Changeset<S>, animated: Bool, animationConfiguration: RowAnimation) {
self.performBatch(animated: animated, updates: {
_performBatchUpdates(self, changes: changes, animationConfiguration: animationConfiguration)
}, completion: nil)
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions