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
通过 Id 或 Tag 来识别 Fragment 不可靠:
ActivityBuilder/library/src/main/java/info/dourok/esactivity/reference/FragmentReferenceUpdater.java
Line 22 in 9870506
id 或 tag 都是可以不唯一的,通过下面的代码将两个无 tag Fragment 添加到同一个 container 中,Fragment 都会使用其 container view id 作为 id
OneButtonFragment fragment = OneButtonFragment.newInstance("captureFragmentWithTag"); getFragmentManager().beginTransaction().add(R.id.parent, fragment, null).commit(); fragment = OneButtonFragment.newInstance("captureFragmentWithTag2"); getFragmentManager().beginTransaction().add(R.id.parent, fragment, null).commit();
2 = {OneButtonFragment@5739} "OneButtonFragment{21d279d #2 id=0x7f07004c}" 3 = {OneButtonFragment@5786} "OneButtonFragment{f2c505b #3 id=0x7f07004c}"
The text was updated successfully, but these errors were encountered:
douo
No branches or pull requests
通过 Id 或 Tag 来识别 Fragment 不可靠:
ActivityBuilder/library/src/main/java/info/dourok/esactivity/reference/FragmentReferenceUpdater.java
Line 22 in 9870506
id 或 tag 都是可以不唯一的,通过下面的代码将两个无 tag Fragment 添加到同一个 container 中,Fragment 都会使用其 container view id 作为 id
The text was updated successfully, but these errors were encountered: