mirror of
https://github.com/niushuai233/DevControl.git
synced 2024-10-27 22:43:20 +08:00
fix: 移除多余代码
This commit is contained in:
parent
377a561e1a
commit
ff29ccbc8b
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user