| | |
| | | break; |
| | | } |
| | | } |
| | | if (TextUtils.isEmpty(DebugStatus.All)) { |
| | | switch (stateValue) { |
| | | case DebugStatus.All: |
| | | setBackgroundColor(viewBinding.allTv, TitleType.debuggingState); |
| | | } else if (stateValue.equals(DebugStatus.Debugging)) { |
| | | break; |
| | | case DebugStatus.Debugging: |
| | | setBackgroundColor(viewBinding.beDebuggingTv, TitleType.debuggingState); |
| | | } else if (stateValue.equals(DebugStatus.WAIT_DELIVERED)) { |
| | | break; |
| | | case DebugStatus.WAIT_DELIVERED: |
| | | setBackgroundColor(viewBinding.debuggingcOmpletedTv, TitleType.debuggingState); |
| | | } else if (stateValue.equals(DebugStatus.Delivered)) { |
| | | break; |
| | | case DebugStatus.Delivered: |
| | | setBackgroundColor(viewBinding.deliveredTv, TitleType.debuggingState); |
| | | } else if (stateValue.equals(DebugStatus.SECONDARY_DEBUGGIN)) { |
| | | break; |
| | | case DebugStatus.SECONDARY_DEBUGGIN: |
| | | setBackgroundColor(viewBinding.authorizationDebuggingTv, TitleType.debuggingState); |
| | | break; |
| | | default: { |
| | | setBackgroundColor(viewBinding.allTv, TitleType.debuggingState); |
| | | break; |
| | | } |
| | | } |
| | | } catch (Exception ignored) { |
| | | } |