Collectionview rxswift loading issue

viewModel.attachmentModel.debug(“Reload”, trimOutput: false)
.drive(dataCollectionView.rx.items) { (collectionView, row, viewModel) in
let indexPath = IndexPath(row: row, section: 0)
let cell = collectionView.ip_dequeueCell(indexPath) as MomentAttachmentPreviewCell
cell.attachment = viewModel
return cell
} >>> rx.disposeBag

here viewModel.attachmentModel even getting fire but execution is not going into { (collectionView, row, viewModel) in. so not able to load collectionview .just showing blank

@devgunja Do you still have issues with this?

This topic was automatically closed after 166 days. New replies are no longer allowed.