我有一个PWA,我将用户设置保存在本地存储上,并且我想通过TWA在Play Store上部署此PWA。问题如下: The host app doesn't have direct access to web content in a Trusted Web Nevertheless, you can coordinate with the web content by passing data to and
from the page
我搜索了其他来源,我不确定来自这个viewModel的数据是与谁共享的。= 6val model = ViewModelProviders.of(activity).get(MyViewModel::class.java)当从活动访问属性时当一个片段B访问它(两个片段都是相同活动的子片段)时,我看到了9个。没错?活动使用的viewModel仅对另一个活动可见吗?或者,如果一个片段使用了viewModel,那么它也只能对其他片段可见?