onebusaway-ios
onebusaway-ios copied to clipboard
OBAListView always reloading data (instead of performing diff)
After #391, all applyData
calls result in the list view reloading all data. See attached video.
https://user-images.githubusercontent.com/22162410/123139623-44447d00-d40b-11eb-9b13-ef16cb967260.mov
Originally posted by @ualch9 in https://github.com/OneBusAway/OBAKit/issues/389#issuecomment-867014676
This is not a breaking issue, and commit 2324956 provides a workaround in StopViewController for this problem.
https://developer.apple.com/documentation/uikit/views_and_controls/collection_views/updating_collection_views_using_diffable_data_sources