We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我遇到一个需求,FirstPage跳转到SecondPage,在SecondPage修改了某些参数后,通过Stream通知到FirstPage更新ListView。发现FirstPage中收到了事件流,也发送了UpdataListAction,同时也打印了firstPage的didUpdateWidget日志,但是列表没有变化。
I/flutter ( 1122): ---------- [HomePage] ---------- //第一个界面收到事件流后更新列表,试过这里把列表重新new对象和清空都无效 I/flutter ( 1122): [HomePage] MainHomeAction.updateList null I/flutter ( 1122): ========== [HomePage] ================ I/flutter ( 1122): HomePage Lifecycle.build I/flutter ( 1122): HomePage Lifecycle.didUpdateWidget
请问,我应该如何让FirstPage在后台不显示时更新界面呢,这样按返回时能看到更新后的内容。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我遇到一个需求,FirstPage跳转到SecondPage,在SecondPage修改了某些参数后,通过Stream通知到FirstPage更新ListView。发现FirstPage中收到了事件流,也发送了UpdataListAction,同时也打印了firstPage的didUpdateWidget日志,但是列表没有变化。
I/flutter ( 1122): ---------- [HomePage] ----------
//第一个界面收到事件流后更新列表,试过这里把列表重新new对象和清空都无效
I/flutter ( 1122): [HomePage] MainHomeAction.updateList null
I/flutter ( 1122): ========== [HomePage] ================
I/flutter ( 1122): HomePage Lifecycle.build
I/flutter ( 1122): HomePage Lifecycle.didUpdateWidget
请问,我应该如何让FirstPage在后台不显示时更新界面呢,这样按返回时能看到更新后的内容。
The text was updated successfully, but these errors were encountered: