Home
Sign Up
Sign In
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member
Sign In
Advertisement
V2EX
›
Flutter
getx 列表更新问题,没有生效
Rrrrrr
·
Nov 4, 2022
· 2397 views
This topic created in 1281 days ago, the information mentioned may be changed or developed.
大佬们,帮我看看。
列表增加可以更新,某一项改变,就不会更新 UI
https://flutlab.io/sandbox/d8d55775-efbb-4cc6-b43e-8732ec2cc522
getx
列表
大佬
生效
2 replies
1
lh900519
Nov 4, 2022
void changePerson(int index, String name) {
userslist[index].name = name;
userslist.refresh();
}
2
Rrrrrr
OP
Nov 4, 2022 via iPhone
我也是找到这个,不知道 refresh 开销大不大?
@
lh900519
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
942 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 38ms ·
UTC 19:58
·
PVG 03:58
·
LAX 12:58
·
JFK 15:58
♥ Do have faith in what you're doing.
❯