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

Handler_Inject.injectFragment方法注入导致空指针,什么原因呢? #6

Open
SoledadMax opened this issue Jun 16, 2015 · 1 comment

Comments

@SoledadMax
Copy link

View view = inflater.inflate(R.layout.bottom_menu, container,false);
bottom_info = (ImageButton)view.findViewById(R.id.bottom_info);
bottom_media = (ImageButton)view.findViewById(R.id.bottom_media);
bottom_home = (ImageView)view.findViewById(R.id.bottom_home);
Handler_Inject.injectFragment(this, view);
return view;
2.@InjectLayer(R.layout.activity_home)会在下面这句代码里面出现参数非法的错误
fragmentTransaction.add(R.id.bottomMenu, bottomFragment);

请问这种错误应该怎么解决?

@sunfusheng
Copy link

Sorry!

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

2 participants