I have an ASNetworkImageNode inside an ASCellNode, the problem is that when I call tableNode.reloadData() this cause flickering in imageNode, if I change imageNode with flat ASDisplayNode, no flickering is showed. How can I fix this? this is the code of image node:
/// Image avatar
public lazy var avatar : ASNetworkImageNode = {
let avt : ASNetworkImageNode = ASNetworkImageNode()
avt.style.preferredSize = CGSize(width: 70, height: 70)
avt.style.maxSize = CGSize(width: 70, height: 70)
avt.cornerRadius = 35
avt.clipsToBounds = true
avt.contentMode = .scaleAspectFill
avt.defaultImage = UIImage(named: "avatar")
avt.shouldRenderProgressImages = true
return avt
}()
I tried by omitting default image, but I have the same problem!
Thanks!