问题如下,请问如何解决?
public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
View view = inflater.inflate(R.layout.step_fragment,null);
initView();
initData();
initListener();
return view;
}
private void initView() {
movementCalenderLl = (LinearLayout) view.findViewById(R.id.movement_records_calender_ll);
kmTimeTv = (TextView) view.findViewById(R.id.movement_total_km_time_tv);
totalKmTv = (TextView) view.findViewById(R.id.movement_total_km_tv);
stepsTimeTv = (TextView) view.findViewById(R.id.movement_total_steps_time_tv);
totalStepsTv = (TextView) view.findViewById(R.id.movement_total_steps_tv);
supportTv = (TextView) view.findViewById(R.id.is_support_tv);
curSelDate = TimeUtil.getCurrentDate();
}