cell hides while reuse Rx CollectionView Section Reload DataSource iOS swift
Problem:
cell hides while reuse Rx CollectionView Section Reload DataSource but height came as normal with empty space came.
Solution:
var mySection = SectionOfMine(model: .datamodel, items: [])
if let old = model,let oldList = old.modellist, oldList.count>0{
mySection.items.appen
}
sections.append(mySection)
Because it had an issue that i had added nil value in model.So i checked and added that if any value exist.
Comments
Post a Comment