fluttercandies / left-scroll-actions

Flutter的左滑删除组件
MIT License
82 stars 15 forks source link

删除item1后,刷新页面,新的Item1保留了删除状态 #1

Closed wushiqiwu closed 5 years ago

wushiqiwu commented 5 years ago

1.点击删除调用删除接口 2.调用刷新接口,刷新最新数据 3.新的List里,第一个item1,保留了删除状态

wushiqiwu commented 5 years ago
image
OldJii commented 5 years ago

@wushiqiwu 老哥,“新的List保留状态“这个问题是怎么解决的?

mjl0602 commented 5 years ago

兄弟,提供key即可 @wushiqiwu @OldJii

mjl0602 commented 5 years ago

在最新的Demo中我增加了对应例子🌰