| | |
| | | package com.flightfeather.ducha.module |
| | | |
| | | import android.view.View |
| | | import cn.flightfeather.thirdappmodule.dataanalysis.AnalysisOverViewFragment |
| | | import cn.flightfeather.thirdappmodule.fragment.SettingFragment |
| | | import cn.flightfeather.thirdappmodule.module.dataanalysis.AnalysisOverViewFragment |
| | | import cn.flightfeather.thirdappmodule.module.MainActivity |
| | | import cn.flightfeather.thirdappmodule.module.home.HomeFragment_comptent |
| | | import cn.flightfeather.thirdappmodule.module.home.HomeFragment_scene |
| | | import cn.flightfeather.thirdappmodule.module.inspection.InspectionFragment |
| | | import cn.flightfeather.thirdappmodule.module.inspectioninfo.InspectionInfoFragment |
| | | import com.flightfeather.ducha.module.login.DCSettingFragment |
| | | import com.flightfeather.ducha.module.task.DCTaskFragment |
| | | import java.util.* |
| | | |
| | | /** |
| | | * @author riku |
| | | * Date: 2021/7/29 |
| | | * 督察app主页 |
| | | */ |
| | | class DCMainActivity : MainActivity() { |
| | | override fun initModule() { |
| | |
| | | |
| | | fragmentList.add(DCTaskFragment()) |
| | | fragmentList.add(InspectionFragment()) |
| | | fragmentList.add(SettingFragment()) |
| | | fragmentList.add(DCSettingFragment()) |
| | | |
| | | ll_home.visibility = View.GONE |
| | | ll_inspection_infos.visibility = View.GONE |
| | |
| | | fragmentList.add(HomeFragment_comptent()) |
| | | fragmentList.add(InspectionFragment()) |
| | | fragmentList.add(AnalysisOverViewFragment.newInstance()) |
| | | fragmentList.add(SettingFragment()) |
| | | fragmentList.add(DCSettingFragment()) |
| | | |
| | | ll_inspection_infos.visibility = View.GONE |
| | | ll_task.visibility = View.GONE |
| | |
| | | |
| | | fragmentList.add(HomeFragment_scene()) |
| | | fragmentList.add(InspectionInfoFragment.newInstance()) |
| | | fragmentList.add(SettingFragment()) |
| | | fragmentList.add(DCSettingFragment()) |
| | | |
| | | ll_task.visibility = View.GONE |
| | | ll_inspection.visibility = View.GONE |