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该如何添加? #11

Open
chejfj opened this issue Apr 27, 2024 · 1 comment
Open

如果我有不同的 Fragment该如何添加? #11

chejfj opened this issue Apr 27, 2024 · 1 comment

Comments

@chejfj
Copy link

chejfj commented Apr 27, 2024

看到您的添加 Fragment 方法很简单: public Fragment createFragment(String bean, int position) { return Fragment2.newInstance(Fragment2.TAB_NAME2, getList_bean().get(position)); },但如果我的 Fragment 有两个,UI和逻辑都不同,没办法合成一个,这种情况怎么添加

@chejfj
Copy link
Author

chejfj commented Jun 28, 2024

已经知道了

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

1 participant