From 801731f67511a155a565a341898dffcc92800349 Mon Sep 17 00:00:00 2001 From: niushuai233 Date: Tue, 18 Oct 2022 13:59:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E4=B8=BAdeviceActivity=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../project/devcontrol/ui/nav/device/NavDeviceFragment.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/cc/niushuai/project/devcontrol/ui/nav/device/NavDeviceFragment.java b/app/src/main/java/cc/niushuai/project/devcontrol/ui/nav/device/NavDeviceFragment.java index ee96c17..ca26502 100644 --- a/app/src/main/java/cc/niushuai/project/devcontrol/ui/nav/device/NavDeviceFragment.java +++ b/app/src/main/java/cc/niushuai/project/devcontrol/ui/nav/device/NavDeviceFragment.java @@ -24,6 +24,7 @@ import cc.niushuai.project.devcontrol.R; import cc.niushuai.project.devcontrol.base.entity.device.DeviceInfo; import cc.niushuai.project.devcontrol.databinding.DeviceItemBinding; import cc.niushuai.project.devcontrol.databinding.MainNavFragmentDeviceBinding; +import cc.niushuai.project.devcontrol.ui.device.DeviceActivity; import cc.niushuai.project.devcontrol.ui.device.DeviceOperate; import cn.hutool.core.util.RandomUtil; @@ -73,7 +74,7 @@ public class NavDeviceFragment extends Fragment { } Toast.makeText(getContext(), "Item Clicked" + x, Toast.LENGTH_SHORT).show(); - startActivity(new Intent(getActivity(), DeviceOperate.class)); + startActivity(new Intent(getActivity(), DeviceActivity.class)); } });