Skip to content
New issue

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嵌套场景下,当前逻辑只取父fragment,是否会存在内部多个子fragment共享同一父fragment的name,导致子fragment之间路径无法区分的问题 #120

Open
yangtian1439964808 opened this issue Feb 1, 2023 · 5 comments

Comments

@yangtian1439964808
Copy link

No description provided.

@dengshiwei
Copy link
Contributor

@yangtian1439964808 你这边指的是哪个逻辑的处理

@yangtian1439964808
Copy link
Author

ViewSnapshot的setFragmentScreenName方法,注释说明为:如果存在fragment多层嵌套场景,只取父fragment。此时对于内层的多个子fragment,上报界面树最外层的pagename取值不会出现一样的情况吗?

@wp3355168
Copy link

ViewSnapshot的setFragmentScreenName方法,注释说明为:如果存在fragment多层嵌套场景,只取父fragment。此时对于内层的多个子fragment,上报界面树最外层的pagename取值不会出现一样的情况吗?

目前暂时不支持 Fragment 嵌套多个子 Fragment 的情况。

@yangtian1439964808
Copy link
Author

可是,对于复杂的页面,多层Fragment嵌套不是很常见的结构吗

@wp3355168
Copy link

目前来看使用多层嵌套 Fragment 的用户不是太多,后续会考虑对多层嵌套的支持

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants