Skip to content

Commit 9c88255

Browse files
AriesHooAriesHoo
authored andcommitted
优化Demo示例FastManager 各回调拆分开避免AppImpl太过混乱不够清晰
1 parent af8411b commit 9c88255

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

apk/sample.apk

88 Bytes
Binary file not shown.

app/src/main/java/com/aries/library/fast/demo/impl/ActivityControlImpl.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
/**
5050
* @Author: AriesHoo on 2018/12/4 18:04
5151
* @E-Mail: AriesHoo@126.com
52-
* @Function:
52+
* @Function: Activity/Fragment 生命周期全局处理及BasisActivity 的按键处理
5353
* @Description:
5454
*/
5555
public class ActivityControlImpl implements ActivityFragmentControl, ActivityKeyEventControl {
@@ -313,8 +313,6 @@ public void onFragmentPaused(FragmentManager fm, Fragment f) {
313313
}
314314

315315

316-
317-
318316
/**
319317
* 根据程序使用的三方库进行改造:本示例使用的三方库实现了自己的沉浸式状态栏及导航栏但和Demo的滑动返回不搭配故做相应调整
320318
*

app/src/main/java/com/aries/library/fast/demo/impl/HttpRequestControlImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
/**
3232
* @Author: AriesHoo on 2018/12/4 18:08
3333
* @E-Mail: AriesHoo@126.com
34-
* @Function:
34+
* @Function: 网络请求成功/失败全局处理
3535
* @Description:
3636
*/
3737
public class HttpRequestControlImpl implements HttpRequestControl {

app/src/main/java/com/aries/library/fast/demo/impl/SwipeBackControlImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
/**
1313
* @Author: AriesHoo on 2018/12/4 18:00
1414
* @E-Mail: AriesHoo@126.com
15-
* @Function:
15+
* @Function: 滑动返回处理
1616
* @Description:
1717
*/
1818
public class SwipeBackControlImpl implements SwipeBackControl {

0 commit comments

Comments
 (0)