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
大佬我在Fragment中setValue,为什么在DialogFragment弹窗中收不到信息?
The text was updated successfully, but these errors were encountered:
UnPeekLiveData 设计为新订阅不自动 replay 数据。
弹窗 Observe 时机晚于 fragment setValue 时机,故难接收。
页面通信通常建议向上级传递,例如 dialog set,页面接收,而不是反过来。
如需向 dialog 传初值,建议考虑原生 bundle argument 方式。
Sorry, something went wrong.
好的谢谢您
No branches or pull requests
大佬我在Fragment中setValue,为什么在DialogFragment弹窗中收不到信息?
The text was updated successfully, but these errors were encountered: