mirror of
https://github.com/niushuai233/DevControl.git
synced 2024-10-27 22:43:20 +08:00
fix: 修改跳转为deviceActivity页
This commit is contained in:
parent
cd78f8fd10
commit
801731f675
@ -24,6 +24,7 @@ import cc.niushuai.project.devcontrol.R;
|
|||||||
import cc.niushuai.project.devcontrol.base.entity.device.DeviceInfo;
|
import cc.niushuai.project.devcontrol.base.entity.device.DeviceInfo;
|
||||||
import cc.niushuai.project.devcontrol.databinding.DeviceItemBinding;
|
import cc.niushuai.project.devcontrol.databinding.DeviceItemBinding;
|
||||||
import cc.niushuai.project.devcontrol.databinding.MainNavFragmentDeviceBinding;
|
import cc.niushuai.project.devcontrol.databinding.MainNavFragmentDeviceBinding;
|
||||||
|
import cc.niushuai.project.devcontrol.ui.device.DeviceActivity;
|
||||||
import cc.niushuai.project.devcontrol.ui.device.DeviceOperate;
|
import cc.niushuai.project.devcontrol.ui.device.DeviceOperate;
|
||||||
import cn.hutool.core.util.RandomUtil;
|
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();
|
Toast.makeText(getContext(), "Item Clicked" + x, Toast.LENGTH_SHORT).show();
|
||||||
|
|
||||||
startActivity(new Intent(getActivity(), DeviceOperate.class));
|
startActivity(new Intent(getActivity(), DeviceActivity.class));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user