File tree 5 files changed +13
-5
lines changed
5 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 9
9
10
10
做酱油的时候发现做开发那么久竟然没有一整套顺手的开发方案,要从头开始一个一个搭建(相当于之前做的就没什么沉淀),因此开始逐渐整理一整套相对全面并且顺手的开发方案。随着这几年逐渐完善,现在基本上具备雏形了,因此逐渐总结一下。
11
11
12
- AAF 是基于组件化方案,逐渐积累整理的一套完整的 Android 终端开发方案。
12
+ AAF 是基于组件化方案,逐渐积累整理的一套完整的** 组件化开发,多维度复用 ** 的 Android 终端开发方案。
13
13
14
- 在新方案的设计和优化过程中,我们的最终目标是** 统一技术栈,同一个问题彻底研究一次,然后提供唯一的解决方案 ,后续可以直接放心使用** 。最终做到 ** 技术方案可以轻松的从一个项目复用到另一个项目 ,或者可以快速在框架基础上开发出一个独立全新的应用,开发过程中基本聚焦在新业务的逻辑,而不是基础功能。**
14
+ 在新方案的设计和优化过程中,我们的最终目标是** 方案使用一套代码支持所有项目并对开发友好 ** 。具体表现为: ** 统一技术栈** , ** 相同问题 ** 彻底研究一次,然后提供 ** 统一解决方案 ** ,后续可以直接放心使用。最终做到一个项目的技术方案可以 ** 高效便捷复用 ** 到另一个项目 ,或者可以快速在框架基础上开发出一个独立全新的应用,开发过程中基本聚焦在新业务的逻辑,而不是基础功能。
15
15
16
16
# 框架介绍
17
17
Original file line number Diff line number Diff line change 13
13
- 新建空目录
14
14
15
15
``` shell
16
- mkdir ./
16
+ mkdir ./AAF
17
17
```
18
18
19
19
20
20
- 复制 AndroidAppFactory-Sample 的所有内容到当前目录
21
21
22
22
` ` ` shell
23
- cp -fr ~ /zixie /github/ AndroidAppFactory-Sample/ ./
23
+ git clone https:/ /github.com/bihe0832/ AndroidAppFactory-Sample.git ./AAF
24
24
` ` `
25
25
26
26
- 删除除 APPTest 和 Application 以外的所有模块(也就是所有Base 开头和Pub 开头的项目)及 Git 信息
27
27
28
28
` ` ` shell
29
+ cd ./AAF
29
30
ls | grep Base | xargs -I {} rm -fr ./{}
30
31
ls | grep Pub | xargs -I {} rm -fr ./{}
31
32
rm -fr .git
Original file line number Diff line number Diff line change @@ -41,7 +41,14 @@ implementation 'com.bihe0832.android:common-debug:+'
41
41
42
42
基于 BaseDebugListFragment 的 AAF 通用调试方法,包括查看应用版本及环境、使用情况,查看设备信息,单选切换,第三方应用信息获取,以及一些快速跳转的功能入口
43
43
44
- <img src =" ./common-debug/DebugCommonFragment.png " />
44
+ <img src =" ./common-debug/DebugCommonFragment.png " width =" 30% " />
45
+
46
+ ### DebugDeviceFragment
47
+
48
+ 获取并列出当前设备的详细信息,包括:设备ID、Android 系统信息、应用内存配置、当前运行内存信息、硬件信息、网络信息等
49
+
50
+ <img src =" ./common-debug/DebugDeviceFragment.png " width =" 30% " />
51
+
45
52
46
53
### DebugRouterFragment
47
54
You can’t perform that action at this time.
0 commit comments