Collection view's reload data has been changed to reload sections

This commit is contained in:
Stanislav Kaluzhnyi 2016-09-07 17:22:52 +04:00
parent 2969fbe70d
commit 8b07d0cbde
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ class RxCollectionViewReactiveArrayDataSource<Element>
func collectionView(_ collectionView: UICollectionView, observedElements: [Element]) {
self.itemModels = observedElements
collectionView.reloadData()
collectionView.reloadSections(NSIndexSet(index: 0))
}
}