RxDataSources
RxDataSources copied to clipboard
What does it mean the duplicateItem error when moveIndex != nil?
Hello, I recently experienced a crash in an animated datasource due to a duplicateItem error.
The error is given by the by line 218 in Diff.swift, when it check
initialItemData[itemPath.sectionIndex][itemPath.itemIndex].moveIndex != nil
I checked the newSections model but there aren't duplicated items, could you explain when this type of error is given?
Thank You
I think this can also occur if your initialSections
contains 2 items or sections with the same key. Would that have been the case?
Thanks for the reply, I will check if this is the case, meanwhile, don't you think we should better explain the situation that arises?