refactor(MainActivity): 调整关于我们板块的布局位置#9
Open
Weiss-UltimateSavior wants to merge 3 commits into
Open
Conversation
将原位于源码源标题前的关于我们板块移动到源码源板块之后,保持原有功能不变,让其他更常用的功能保持优先
…、BackgroundManager 三个独立工具类,减少单一MainActivity的代码臃肿,分离代码模块化,更易维护 将 MainActivity 中约 579 行逻辑提取到 `util/` 包下的三个独立类中,降低单一 Activity 的复杂度(6121 → 5542 行,减少 9.5%),采用委托模式保持所有调用点不变。 新增三个工具类: 1. UpdateChecker:实现GitHub版本更新自动/手动检查逻辑 2. BackgroundManager:支持图片/视频自定义背景及相关存储处理 3. StorageProbeHelper:完成安卓存储权限探测、SAF存储适配逻辑
将三个工具类的初始化从字段声明处移到onCreate方法中,统一管理初始化流程,提升代码可读性和维护性
Owner
|
很感谢你的pr,但是由于本次pr涉及代码框架重构,改动较大,暂时不能直接合并,期待你的下次pr喵 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
将原位于源码源标题前的关于我们板块移动到源码源板块之后,保持原有功能不变,让其他更常用的功能保持优先