Skip to content

Commit 6976813

Browse files
committed
Arrange code.
1 parent 18443a8 commit 6976813

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+1242
-195
lines changed

.idea/kotlinc.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ android {
3232
minSdkVersion 18
3333
targetSdkVersion 28
3434
versionCode 6
35-
versionName "2.0.0"
35+
versionName "2.0.1"
3636
flavorDimensions "6" //和versionCode相同
3737
ndk {
3838
//选择要添加的对应 cpu 类型的 .so 库。
@@ -95,12 +95,12 @@ android.applicationVariants.all { variant ->
9595
dependencies {
9696
implementation fileTree(include: ['*.jar'], dir: 'libs')
9797
testImplementation 'junit:junit:4.12'
98-
androidTestApi 'androidx.test:runner:1.1.0-alpha4'
99-
androidTestApi 'androidx.test.espresso:espresso-core:3.1.0-alpha4'
98+
androidTestImplementation 'androidx.test:runner:1.1.0-alpha4'
99+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0-alpha4'
100100
implementation "org.jetbrains.kotlinx:kotlinx-serialization-runtime:0.9.1"
101101
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.0.1'
102102

103-
implementation 'com.github.xbdcc:Cutils:0.0.10'
103+
implementation 'com.github.xbdcc:Cutils:0.0.11'
104104

105105
//jpush
106106
implementation 'cn.jiguang.sdk:jpush:3.1.8'
@@ -123,7 +123,6 @@ dependencies {
123123
implementation 'com.squareup.okio:okio:2.1.0'
124124
implementation 'com.google.code.gson:gson:2.8.5'
125125
implementation 'com.squareup.okhttp3:okhttp:3.12.0'
126-
androidTestImplementation 'junit:junit:4.12'
127126

128127
}
129128
repositories {

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@
5959

6060
<!--<activity android:name="com.carlos.grabredenvelope.old.HongBaoRecrodActivity"/>-->
6161
<activity android:name="com.carlos.grabredenvelope.activity.WechatEnvelopeActivity"/>
62-
<activity android:name="com.carlos.grabredenvelope.old.XiuYiXiu"/>
63-
<activity android:name="com.carlos.grabredenvelope.old.About"/>
62+
<activity android:name="com.carlos.grabredenvelope.old2016.XiuYiXiu"/>
63+
<activity android:name="com.carlos.grabredenvelope.old2016.About"/>
6464
<activity android:name="com.carlos.grabredenvelope.receiver.MessageActivity"/>
6565
<activity android:name=".activity.GithubIssuesActivity"/>
6666
<activity android:name=".activity.RewardActivity"/>

app/src/main/java/com/carlos/grabredenvelope/MyApplication.kt

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,38 @@ package com.carlos.grabredenvelope
33
import android.app.Application
44
import com.carlos.cutils.util.LogUtils
55

6+
/**
7+
* _ooOoo_
8+
* o8888888o
9+
* 88" . "88
10+
* (| -_- |)
11+
* O\ = /O
12+
* ____/`---'\____
13+
* .' \\| |// `.
14+
* / \\||| : |||// \
15+
* / _||||| -:- |||||- \
16+
* | | \\\ - /// | |
17+
* | \_| ''\---/'' | |
18+
* \ .-\__ `-` ___/-. /
19+
* ___`. .' /--.--\ `. . __
20+
* ."" '< `.___\_<|>_/___.' >'"".
21+
* | | : `- \`.;`\ _ /`;.`/ - ` : | |
22+
* \ \ `-. \_ __\ /__ _/ .-` / /
23+
* ======`-.____`-.___\_____/___.-`____.-'======
24+
* `=---='
25+
* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
26+
* 佛祖保佑 永无BUG
27+
* 佛曰:
28+
* 写字楼里写字间,写字间里程序员;
29+
* 程序人员写程序,又拿程序换酒钱。
30+
* 酒醒只在网上坐,酒醉还来网下眠;
31+
* 酒醉酒醒日复日,网上网下年复年。
32+
* 但愿老死电脑间,不愿鞠躬老板前;
33+
* 奔驰宝马贵者趣,公交自行程序员。
34+
* 别人笑我忒疯癫,我笑自己命太贱;
35+
* 不见满街漂亮妹,哪个归得程序员?
36+
*/
37+
638
/**
739
* Created by 小不点 on 2016/2/6.
840
*/

app/src/main/java/com/carlos/grabredenvelope/activity/AboutActivity.kt

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,38 @@ import android.os.Bundle
55
import android.widget.Button
66
import com.carlos.grabredenvelope.R
77

8+
/**
9+
* _ooOoo_
10+
* o8888888o
11+
* 88" . "88
12+
* (| -_- |)
13+
* O\ = /O
14+
* ____/`---'\____
15+
* .' \\| |// `.
16+
* / \\||| : |||// \
17+
* / _||||| -:- |||||- \
18+
* | | \\\ - /// | |
19+
* | \_| ''\---/'' | |
20+
* \ .-\__ `-` ___/-. /
21+
* ___`. .' /--.--\ `. . __
22+
* ."" '< `.___\_<|>_/___.' >'"".
23+
* | | : `- \`.;`\ _ /`;.`/ - ` : | |
24+
* \ \ `-. \_ __\ /__ _/ .-` / /
25+
* ======`-.____`-.___\_____/___.-`____.-'======
26+
* `=---='
27+
* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
28+
* 佛祖保佑 永无BUG
29+
* 佛曰:
30+
* 写字楼里写字间,写字间里程序员;
31+
* 程序人员写程序,又拿程序换酒钱。
32+
* 酒醒只在网上坐,酒醉还来网下眠;
33+
* 酒醉酒醒日复日,网上网下年复年。
34+
* 但愿老死电脑间,不愿鞠躬老板前;
35+
* 奔驰宝马贵者趣,公交自行程序员。
36+
* 别人笑我忒疯癫,我笑自己命太贱;
37+
* 不见满街漂亮妹,哪个归得程序员?
38+
*/
39+
840
/**
941
* Created by 小不点 on 2016/2/22.
1042
*/

app/src/main/java/com/carlos/grabredenvelope/activity/BaseActivity.kt

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,38 @@ import com.carlos.cutils.base.CBaseAccessibilityActivity
99
import com.carlos.grabredenvelope.R
1010
import com.umeng.analytics.MobclickAgent
1111

12+
/**
13+
* _ooOoo_
14+
* o8888888o
15+
* 88" . "88
16+
* (| -_- |)
17+
* O\ = /O
18+
* ____/`---'\____
19+
* .' \\| |// `.
20+
* / \\||| : |||// \
21+
* / _||||| -:- |||||- \
22+
* | | \\\ - /// | |
23+
* | \_| ''\---/'' | |
24+
* \ .-\__ `-` ___/-. /
25+
* ___`. .' /--.--\ `. . __
26+
* ."" '< `.___\_<|>_/___.' >'"".
27+
* | | : `- \`.;`\ _ /`;.`/ - ` : | |
28+
* \ \ `-. \_ __\ /__ _/ .-` / /
29+
* ======`-.____`-.___\_____/___.-`____.-'======
30+
* `=---='
31+
* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32+
* 佛祖保佑 永无BUG
33+
* 佛曰:
34+
* 写字楼里写字间,写字间里程序员;
35+
* 程序人员写程序,又拿程序换酒钱。
36+
* 酒醒只在网上坐,酒醉还来网下眠;
37+
* 酒醉酒醒日复日,网上网下年复年。
38+
* 但愿老死电脑间,不愿鞠躬老板前;
39+
* 奔驰宝马贵者趣,公交自行程序员。
40+
* 别人笑我忒疯癫,我笑自己命太贱;
41+
* 不见满街漂亮妹,哪个归得程序员?
42+
*/
43+
1244
/**
1345
* Created by 小不点 on 2016/5/27.
1446
*/

app/src/main/java/com/carlos/grabredenvelope/activity/DingdingEnvelopeActivity.kt

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,38 @@ package com.carlos.grabredenvelope.activity
33
import android.os.Bundle
44
import com.carlos.grabredenvelope.R
55

6+
/**
7+
* _ooOoo_
8+
* o8888888o
9+
* 88" . "88
10+
* (| -_- |)
11+
* O\ = /O
12+
* ____/`---'\____
13+
* .' \\| |// `.
14+
* / \\||| : |||// \
15+
* / _||||| -:- |||||- \
16+
* | | \\\ - /// | |
17+
* | \_| ''\---/'' | |
18+
* \ .-\__ `-` ___/-. /
19+
* ___`. .' /--.--\ `. . __
20+
* ."" '< `.___\_<|>_/___.' >'"".
21+
* | | : `- \`.;`\ _ /`;.`/ - ` : | |
22+
* \ \ `-. \_ __\ /__ _/ .-` / /
23+
* ======`-.____`-.___\_____/___.-`____.-'======
24+
* `=---='
25+
* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
26+
* 佛祖保佑 永无BUG
27+
* 佛曰:
28+
* 写字楼里写字间,写字间里程序员;
29+
* 程序人员写程序,又拿程序换酒钱。
30+
* 酒醒只在网上坐,酒醉还来网下眠;
31+
* 酒醉酒醒日复日,网上网下年复年。
32+
* 但愿老死电脑间,不愿鞠躬老板前;
33+
* 奔驰宝马贵者趣,公交自行程序员。
34+
* 别人笑我忒疯癫,我笑自己命太贱;
35+
* 不见满街漂亮妹,哪个归得程序员?
36+
*/
37+
638
/**
739
* Created by Carlos on 2019/2/24.
840
*/

app/src/main/java/com/carlos/grabredenvelope/activity/GithubIssuesActivity.kt

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,38 @@ import android.os.Bundle
44
import android.webkit.WebView
55
import com.carlos.grabredenvelope.R
66

7+
/**
8+
* _ooOoo_
9+
* o8888888o
10+
* 88" . "88
11+
* (| -_- |)
12+
* O\ = /O
13+
* ____/`---'\____
14+
* .' \\| |// `.
15+
* / \\||| : |||// \
16+
* / _||||| -:- |||||- \
17+
* | | \\\ - /// | |
18+
* | \_| ''\---/'' | |
19+
* \ .-\__ `-` ___/-. /
20+
* ___`. .' /--.--\ `. . __
21+
* ."" '< `.___\_<|>_/___.' >'"".
22+
* | | : `- \`.;`\ _ /`;.`/ - ` : | |
23+
* \ \ `-. \_ __\ /__ _/ .-` / /
24+
* ======`-.____`-.___\_____/___.-`____.-'======
25+
* `=---='
26+
* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
27+
* 佛祖保佑 永无BUG
28+
* 佛曰:
29+
* 写字楼里写字间,写字间里程序员;
30+
* 程序人员写程序,又拿程序换酒钱。
31+
* 酒醒只在网上坐,酒醉还来网下眠;
32+
* 酒醉酒醒日复日,网上网下年复年。
33+
* 但愿老死电脑间,不愿鞠躬老板前;
34+
* 奔驰宝马贵者趣,公交自行程序员。
35+
* 别人笑我忒疯癫,我笑自己命太贱;
36+
* 不见满街漂亮妹,哪个归得程序员?
37+
*/
38+
739
/**
840
* Created by Carlos on 2019/2/23.
941
*/

0 commit comments

Comments
 (0)