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
CubeFragmentActivity类的goToThisFragment方法中 if (mCurrentFragment != null) { if(mCurrentFragment != fragment){ mCurrentFragment.onLeave(); }else{ return; } } 这样写是不是好点,当重复添加时避免按返回键出问题(例如重复添加了5次,需要按返回键5次才出再按一次退出) TitleBaseFragment类的onCreateView方法中 ViewGroup view = (ViewGroup) inflater.inflate(getFrameLayoutId(), container,false);这样就能避免CubeFragmentActivity中添加的Fragment的高度没显示全屏问题
The text was updated successfully, but these errors were encountered:
No branches or pull requests
CubeFragmentActivity类的goToThisFragment方法中
if (mCurrentFragment != null) {
if(mCurrentFragment != fragment){
mCurrentFragment.onLeave();
}else{
return;
}
}
这样写是不是好点,当重复添加时避免按返回键出问题(例如重复添加了5次,需要按返回键5次才出再按一次退出)
TitleBaseFragment类的onCreateView方法中
ViewGroup view = (ViewGroup) inflater.inflate(getFrameLayoutId(), container,false);这样就能避免CubeFragmentActivity中添加的Fragment的高度没显示全屏问题
The text was updated successfully, but these errors were encountered: