RxDataSources icon indicating copy to clipboard operation
RxDataSources copied to clipboard

How to use refresh one tableView or collectionView cell

Open codepgq opened this issue 6 years ago • 0 comments

roomVM.items
            .bind(to: collectionView.rx.items) {[weak self] (collectionView, row, element) in
                let indexPath = IndexPath(row: row, section: 0)
                let cell = collectionView.dequeueReusableCell(
                    withReuseIdentifier: RoomCell.identifier,
                    for: indexPath) as! RoomCell
                cell.config(element)
                return cell
            }
            .disposed(by: bag)

codepgq avatar Jan 07 '19 02:01 codepgq