美文网首页
RxTableViewSectionedAnimatedData

RxTableViewSectionedAnimatedData

作者: 简化 | 来源:发表于2023-01-05 14:51 被阅读0次

    使用MVVM时候,新建一个Object时候,可以直接造一个初值的,如果cancel就delete,如果confirm就update
    就会导致实际不更新,使用RxTableViewSectionedReloadDataSource则正常。

    Diff.differencesForSectionedView(initialSections: oldSections, finalSections: newSections)
    

    此行为Animated动画需要检验差别导致数据更新不及时

    相关文章

      网友评论

          本文标题:RxTableViewSectionedAnimatedData

          本文链接:https://www.haomeiwen.com/subject/tskjcdtx.html