mirror of
https://github.com/niushuai233/DevControl.git
synced 2024-10-27 22:43:20 +08:00
feat: 空的页面-待实现
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
package cc.niushuai.project.devcontrol.ui.custom;
|
||||
|
||||
import android.os.Bundle;
|
||||
|
||||
import cc.niushuai.project.devcontrol.base.ui.BaseActivity;
|
||||
import cc.niushuai.project.devcontrol.databinding.ActivityDeviceCustomBinding;
|
||||
|
||||
public class DeviceCustomActivity extends BaseActivity {
|
||||
|
||||
private ActivityDeviceCustomBinding binding;
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
binding = ActivityDeviceCustomBinding.inflate(getLayoutInflater());
|
||||
setContentView(binding.getRoot());
|
||||
|
||||
this.init();
|
||||
this.addListener();
|
||||
}
|
||||
|
||||
/**
|
||||
* 初始化方法
|
||||
*
|
||||
* @author niushuai
|
||||
* @date: 2022/10/19 15:54
|
||||
*/
|
||||
@Override
|
||||
protected void init() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 监听器事件统一设置入口
|
||||
*
|
||||
* @author niushuai
|
||||
* @date: 2022/10/19 17:31
|
||||
*/
|
||||
@Override
|
||||
protected void addListener() {
|
||||
super.addListener();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onDestroy() {
|
||||
super.onDestroy();
|
||||
binding = null;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
package cc.niushuai.project.devcontrol.ui.deviceadd;
|
||||
|
||||
import android.os.Bundle;
|
||||
|
||||
import cc.niushuai.project.devcontrol.base.ui.BaseActivity;
|
||||
import cc.niushuai.project.devcontrol.databinding.ActivityDeviceAddCustomBinding;
|
||||
|
||||
public class DeviceAddCustomActivity extends BaseActivity {
|
||||
|
||||
private ActivityDeviceAddCustomBinding binding;
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
binding = ActivityDeviceAddCustomBinding.inflate(getLayoutInflater());
|
||||
setContentView(binding.getRoot());
|
||||
|
||||
this.init();
|
||||
this.addListener();
|
||||
}
|
||||
|
||||
/**
|
||||
* 初始化方法
|
||||
*
|
||||
* @author niushuai
|
||||
* @date: 2022/10/19 15:54
|
||||
*/
|
||||
@Override
|
||||
protected void init() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 监听器事件统一设置入口
|
||||
*
|
||||
* @author niushuai
|
||||
* @date: 2022/10/19 17:31
|
||||
*/
|
||||
@Override
|
||||
protected void addListener() {
|
||||
super.addListener();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onDestroy() {
|
||||
super.onDestroy();
|
||||
binding = null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user