diff --git a/app/src/main/java/cc/niushuai/project/devcontrol/ui/nav/main/device/NavDeviceFragment.java b/app/src/main/java/cc/niushuai/project/devcontrol/ui/nav/main/device/NavDeviceFragment.java index fe99fad..b936bb2 100644 --- a/app/src/main/java/cc/niushuai/project/devcontrol/ui/nav/main/device/NavDeviceFragment.java +++ b/app/src/main/java/cc/niushuai/project/devcontrol/ui/nav/main/device/NavDeviceFragment.java @@ -30,9 +30,9 @@ public class NavDeviceFragment extends Fragment { NavDeviceViewModel navDeviceViewModel = new ViewModelProvider(this).get(NavDeviceViewModel.class); View rootView = navFragmentDeviceBinding.getRoot(); - TextView textView = navFragmentDeviceBinding.navDeviceFragmentTextview; - - navDeviceViewModel.getText().observe(getViewLifecycleOwner(), textView::setText); +// TextView textView = navFragmentDeviceBinding.navDeviceFragmentTextview; +// +// navDeviceViewModel.getText().observe(getViewLifecycleOwner(), textView::setText); return rootView; }