来自 MapFragment
ScheduleFragment scheduleFragment = new ScheduleFragment();
scheduleFragment.showNow(getChildFragmentManager(),scheduleFragment.getTag());
ScheduleFragment
public class ScheduleFragment extends BottomSheetDialogFragment {
public ScheduleFragment(){
}
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
// Inflate the layout for this fragment
View view=inflater.inflate(R.layout.fragment_schedule, container, false);
return view;
}
}
现在我遇到的问题是每当应用程序恢复时,模态底部图像似乎正在从隐藏状态更改为扩展状态是否有任何修复?