File tree 6 files changed +100
-5
lines changed
6 files changed +100
-5
lines changed Original file line number Diff line number Diff line change 74
74
* [ lib-immersive] ( use/libs/ui/lib-immersive.md )
75
75
* [ lib-file-select] ( use/libs/ui/lib-file-select.md )
76
76
* [ lib-textview] ( use/libs/ui/lib-textview.md )
77
+ * [ lib-textview] ( use/libs/ui/lib-textview.md )
77
78
* [ 路由相关] ( )
78
79
* [ lib-router] ( use/libs/router/lib-router.md )
79
80
* [ lib-router-compiler] ( use/libs/router/lib-router-compiler.md )
Original file line number Diff line number Diff line change
1
+ # CommonList
2
+
3
+ ![ CommonList] ( https://img.shields.io/badge/AndroidAppFactory-CommonList-brightgreen )
4
+ [ ![ Github] ( https://img.shields.io/badge/Github-CommonList-brightgreen?style=social ) ] ( https://github.com/bihe0832/AndroidAppFactory/tree/master/CommonList )
5
+ [ ![ Maven Central] ( https://img.shields.io/maven-central/v/com.bihe0832.android/common-list ) ] ( https://search.maven.org/artifact/com.bihe0832.android/common-list )
6
+
7
+ ## 功能简介
8
+
9
+ 基于公共框架的通用列表页面,列表样式
10
+
11
+ ## 组件信息
12
+
13
+ #### 引用仓库
14
+
15
+ 引用仓库可以参考 [ 组件使用] ( ./../start.md ) 中添加依赖的部分
16
+
17
+ #### 组件使用
18
+
19
+ ``` groovy
20
+ implementation 'com.bihe0832.android:common-list:+'
21
+ ```
22
+
23
+ ## 组件功能
24
+
25
+ ### BaseListActivity & BaseListFragment
26
+
27
+ 一款通用的包含一个recycleView的列表页,目前支持:下拉刷新、加载更多、添加header、列表为空展示空页面等
28
+
29
+ ### CardItemForCommonList
30
+
31
+ BaseListActivity & BaseListFragment 中的UI卡片的数据结构
32
+
33
+ ### CommonListActivity & CommonListFragment
34
+
35
+ 对于 BaseListActivity & BaseListFragment 的进一步封装,分别使用了LibRefresh 提供的两种下拉刷新方式
36
+
37
+ 使用事例,可以参照:https://github.com/bihe0832/AndroidAppFactory/tree/master/BaseTest/src/main/java/com/bihe0832/android/base/test/card/
Original file line number Diff line number Diff line change @@ -28,3 +28,7 @@ implementation 'com.bihe0832.android:lib-debug:+'
28
28
29
29
<img src =" ./lib-debug.png " />
30
30
31
+ ### DebugLogTips
32
+
33
+ - 支持悬浮窗形式滚动列表,展示调试信息,** 使用前需要初始化** 。
34
+
Original file line number Diff line number Diff line change @@ -34,15 +34,22 @@ implementation 'com.bihe0832.android:lib-gson:+'
34
34
35
35
- 对于特殊字段,支持不解析,直接返回String(Gson)添加 ` @JsonAdapter(RawStringJsonAdapter.class) ` 设置字段不解析。例如:
36
36
37
+ - 对于Bollean,支持添加 ` @JsonAdapter(BooleanTypeAdapter.class) ` 设置解析。例如:
38
+
39
+
37
40
``` java
38
41
public class JsonTest {
39
42
40
43
@SerializedName (" key" )
41
44
private int key;
42
45
43
- @SerializedName (" value " )
46
+ @SerializedName (" value1 " )
44
47
@JsonAdapter (RawStringJsonAdapter . class)
45
- private String data = " " ;
48
+ private String data1 = " " ;
49
+
50
+ @SerializedName (" value2" )
51
+ @JsonAdapter (BooleanTypeAdapter . class)
52
+ private boolean data2 = false ;
46
53
47
54
public int getKey (){
48
55
return key;
@@ -51,6 +58,15 @@ public class JsonTest {
51
58
public void setKey (int key ) {
52
59
this . key = key;
53
60
}
61
+
62
+ @Override
63
+ public String toString () {
64
+ return " JsonTest{" +
65
+ " key=" + key +
66
+ " , data1='" + data1 + ' \' ' +
67
+ " , data2=" + data2 +
68
+ ' }' ;
69
+ }
54
70
}
55
71
```
56
72
Original file line number Diff line number Diff line change
1
+ # LibFloatview
2
+
3
+ ![ LibFloatview] ( https://img.shields.io/badge/AndroidAppFactory-LibFloatview-brightgreen )
4
+ [ ![ Github] ( https://img.shields.io/badge/Github-LibFloatview-brightgreen?style=social ) ] ( https://github.com/bihe0832/AndroidAppFactory/tree/master/LibFloatview )
5
+ [ ![ Maven Central] ( https://img.shields.io/maven-central/v/com.bihe0832.android/lib-float-view )] ( https://search.maven.org/artifact/com.bihe0832.android/lib-float-view )
6
+
7
+ ## 功能简介
8
+
9
+ Android 悬浮窗管理
10
+
11
+ ## 组件信息
12
+
13
+ #### 引用仓库
14
+
15
+ 引用仓库可以参考 [ 组件使用] ( ./../start.md ) 中添加依赖的部分
16
+
17
+ #### 组件使用
18
+
19
+ ``` groovy
20
+ implementation 'com.bihe0832.android:lib-float-view:+'
21
+ ```
22
+
23
+ ## 组件功能
24
+
25
+ ### IconManager
26
+
27
+ - 悬浮窗管理,自带一个IconView,负责悬浮窗的展示、隐藏、各种定制类型等
28
+
29
+ ### IconView
30
+
31
+ - 提示Icon类悬浮窗,实现了:位置跟随、自动靠边、自动虚幻、自动隐藏、红点提醒等
32
+
33
+ ### BaseIconView
34
+
35
+ - 常用悬浮窗的基类,实现了手指跟随
Original file line number Diff line number Diff line change @@ -26,19 +26,21 @@ implementation 'com.bihe0832.android:lib-permission:+'
26
26
27
27
### PermissionDialog
28
28
29
- - 检查权限的引导弹框
29
+ - 检查权限的引导弹框、可配合PermissionsActivity 继承后实现自定义界面
30
+
31
+ - 支持同时申请单一权限或者多个权限
30
32
31
33
### PermissionManager
32
34
33
35
- 添加权限弹框时的权限说明
34
36
35
- - 检查权限并弹框引导
37
+ - 检查权限并弹框引导,结果回调更精细、支持相同权限不同场景的文案配置
36
38
37
39
- 基于 [ IntentUtils] ( ./../noui/lib-utils-apk.md#intentutils ) 打开对应权限的设置页面,具体权限对应的设置页面的跳转参数可以参考 [ Android 权限 及设置描述信息] ( https://blog.bihe0832.com/android-permission.html )
38
40
39
41
### PermissionsActivity
40
42
41
- - 检查权限并弹框引导的中转页
43
+ - 检查权限并弹框引导的中转页、可继承并定制
42
44
43
45
### FloatPermissionWrapper
44
46
You can’t perform that action at this time.
0 commit comments