| | |
| | | } |
| | | |
| | | private void initView() { |
| | | viewBinding.toolbarTopMessageCenterListRl.getRoot().setBackgroundColor(getColor(R.color.text_FFFFFFFF)); |
| | | viewBinding.toolbarTopMessageCenterListRl.getRoot().setBackgroundColor(getColor(R.color.text_FFECECEC)); |
| | | viewBinding.toolbarTopMessageCenterListRl.topBackLl.setVisibility(View.VISIBLE); |
| | | viewBinding.toolbarTopMessageCenterListRl.topLeftIv.setImageResource(R.drawable.back_c); |
| | | viewBinding.toolbarTopMessageCenterListRl.topTitleTv.setText(R.string.set_message_center); |
| | |
| | | Intent intent = getIntent(); |
| | | if (intent != null) { |
| | | String isShowFault = intent.getStringExtra("isShowFault"); |
| | | if (isShowFault.equals("true")) { |
| | | if (isShowFault != null && isShowFault.equals("true")) { |
| | | //默认故障全部 |
| | | mDeviceTypeFilterKye = FilterType.all; |
| | | mDeviceTypeFilterValue = FilterType.all; |
| | |
| | | mTypeFilterValue = "FAULT"; |
| | | mTimeTypeFilterKye = FilterType.all; |
| | | mTimeTypeFilterValue = FilterType.all; |
| | | viewBinding.allGradeTitleTv.setText(getString(R.string.alarm_all_grade_malfunction)); |
| | | } |
| | | } |
| | | } catch (Exception ignored) { |