From ff29ccbc8b36e3123e08c66a1520cceea3c19594 Mon Sep 17 00:00:00 2001 From: niushuai233 Date: Thu, 13 Oct 2022 17:02:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../devcontrol/ui/nav/main/device/NavDeviceFragment.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; }