Skip to content

Commit

Permalink
Arrange code.
Browse files Browse the repository at this point in the history
  • Loading branch information
xbdcc committed Mar 4, 2019
1 parent 18443a8 commit 6976813
Show file tree
Hide file tree
Showing 46 changed files with 1,242 additions and 195 deletions.
6 changes: 6 additions & 0 deletions .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ android {
minSdkVersion 18
targetSdkVersion 28
versionCode 6
versionName "2.0.0"
versionName "2.0.1"
flavorDimensions "6" //和versionCode相同
ndk {
//选择要添加的对应 cpu 类型的 .so 库。
Expand Down Expand Up @@ -95,12 +95,12 @@ android.applicationVariants.all { variant ->
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
testImplementation 'junit:junit:4.12'
androidTestApi 'androidx.test:runner:1.1.0-alpha4'
androidTestApi 'androidx.test.espresso:espresso-core:3.1.0-alpha4'
androidTestImplementation 'androidx.test:runner:1.1.0-alpha4'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0-alpha4'
implementation "org.jetbrains.kotlinx:kotlinx-serialization-runtime:0.9.1"
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.0.1'

implementation 'com.github.xbdcc:Cutils:0.0.10'
implementation 'com.github.xbdcc:Cutils:0.0.11'

//jpush
implementation 'cn.jiguang.sdk:jpush:3.1.8'
Expand All @@ -123,7 +123,6 @@ dependencies {
implementation 'com.squareup.okio:okio:2.1.0'
implementation 'com.google.code.gson:gson:2.8.5'
implementation 'com.squareup.okhttp3:okhttp:3.12.0'
androidTestImplementation 'junit:junit:4.12'

}
repositories {
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@

<!--<activity android:name="com.carlos.grabredenvelope.old.HongBaoRecrodActivity"/>-->
<activity android:name="com.carlos.grabredenvelope.activity.WechatEnvelopeActivity"/>
<activity android:name="com.carlos.grabredenvelope.old.XiuYiXiu"/>
<activity android:name="com.carlos.grabredenvelope.old.About"/>
<activity android:name="com.carlos.grabredenvelope.old2016.XiuYiXiu"/>
<activity android:name="com.carlos.grabredenvelope.old2016.About"/>
<activity android:name="com.carlos.grabredenvelope.receiver.MessageActivity"/>
<activity android:name=".activity.GithubIssuesActivity"/>
<activity android:name=".activity.RewardActivity"/>
Expand Down
32 changes: 32 additions & 0 deletions app/src/main/java/com/carlos/grabredenvelope/MyApplication.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,38 @@ package com.carlos.grabredenvelope
import android.app.Application
import com.carlos.cutils.util.LogUtils

/**
* _ooOoo_
* o8888888o
* 88" . "88
* (| -_- |)
* O\ = /O
* ____/`---'\____
* .' \\| |// `.
* / \\||| : |||// \
* / _||||| -:- |||||- \
* | | \\\ - /// | |
* | \_| ''\---/'' | |
* \ .-\__ `-` ___/-. /
* ___`. .' /--.--\ `. . __
* ."" '< `.___\_<|>_/___.' >'"".
* | | : `- \`.;`\ _ /`;.`/ - ` : | |
* \ \ `-. \_ __\ /__ _/ .-` / /
* ======`-.____`-.___\_____/___.-`____.-'======
* `=---='
* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* 佛祖保佑 永无BUG
* 佛曰:
* 写字楼里写字间,写字间里程序员;
* 程序人员写程序,又拿程序换酒钱。
* 酒醒只在网上坐,酒醉还来网下眠;
* 酒醉酒醒日复日,网上网下年复年。
* 但愿老死电脑间,不愿鞠躬老板前;
* 奔驰宝马贵者趣,公交自行程序员。
* 别人笑我忒疯癫,我笑自己命太贱;
* 不见满街漂亮妹,哪个归得程序员?
*/

/**
* Created by 小不点 on 2016/2/6.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,38 @@ import android.os.Bundle
import android.widget.Button
import com.carlos.grabredenvelope.R

/**
* _ooOoo_
* o8888888o
* 88" . "88
* (| -_- |)
* O\ = /O
* ____/`---'\____
* .' \\| |// `.
* / \\||| : |||// \
* / _||||| -:- |||||- \
* | | \\\ - /// | |
* | \_| ''\---/'' | |
* \ .-\__ `-` ___/-. /
* ___`. .' /--.--\ `. . __
* ."" '< `.___\_<|>_/___.' >'"".
* | | : `- \`.;`\ _ /`;.`/ - ` : | |
* \ \ `-. \_ __\ /__ _/ .-` / /
* ======`-.____`-.___\_____/___.-`____.-'======
* `=---='
* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* 佛祖保佑 永无BUG
* 佛曰:
* 写字楼里写字间,写字间里程序员;
* 程序人员写程序,又拿程序换酒钱。
* 酒醒只在网上坐,酒醉还来网下眠;
* 酒醉酒醒日复日,网上网下年复年。
* 但愿老死电脑间,不愿鞠躬老板前;
* 奔驰宝马贵者趣,公交自行程序员。
* 别人笑我忒疯癫,我笑自己命太贱;
* 不见满街漂亮妹,哪个归得程序员?
*/

/**
* Created by 小不点 on 2016/2/22.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,38 @@ import com.carlos.cutils.base.CBaseAccessibilityActivity
import com.carlos.grabredenvelope.R
import com.umeng.analytics.MobclickAgent

/**
* _ooOoo_
* o8888888o
* 88" . "88
* (| -_- |)
* O\ = /O
* ____/`---'\____
* .' \\| |// `.
* / \\||| : |||// \
* / _||||| -:- |||||- \
* | | \\\ - /// | |
* | \_| ''\---/'' | |
* \ .-\__ `-` ___/-. /
* ___`. .' /--.--\ `. . __
* ."" '< `.___\_<|>_/___.' >'"".
* | | : `- \`.;`\ _ /`;.`/ - ` : | |
* \ \ `-. \_ __\ /__ _/ .-` / /
* ======`-.____`-.___\_____/___.-`____.-'======
* `=---='
* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* 佛祖保佑 永无BUG
* 佛曰:
* 写字楼里写字间,写字间里程序员;
* 程序人员写程序,又拿程序换酒钱。
* 酒醒只在网上坐,酒醉还来网下眠;
* 酒醉酒醒日复日,网上网下年复年。
* 但愿老死电脑间,不愿鞠躬老板前;
* 奔驰宝马贵者趣,公交自行程序员。
* 别人笑我忒疯癫,我笑自己命太贱;
* 不见满街漂亮妹,哪个归得程序员?
*/

/**
* Created by 小不点 on 2016/5/27.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,38 @@ package com.carlos.grabredenvelope.activity
import android.os.Bundle
import com.carlos.grabredenvelope.R

/**
* _ooOoo_
* o8888888o
* 88" . "88
* (| -_- |)
* O\ = /O
* ____/`---'\____
* .' \\| |// `.
* / \\||| : |||// \
* / _||||| -:- |||||- \
* | | \\\ - /// | |
* | \_| ''\---/'' | |
* \ .-\__ `-` ___/-. /
* ___`. .' /--.--\ `. . __
* ."" '< `.___\_<|>_/___.' >'"".
* | | : `- \`.;`\ _ /`;.`/ - ` : | |
* \ \ `-. \_ __\ /__ _/ .-` / /
* ======`-.____`-.___\_____/___.-`____.-'======
* `=---='
* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* 佛祖保佑 永无BUG
* 佛曰:
* 写字楼里写字间,写字间里程序员;
* 程序人员写程序,又拿程序换酒钱。
* 酒醒只在网上坐,酒醉还来网下眠;
* 酒醉酒醒日复日,网上网下年复年。
* 但愿老死电脑间,不愿鞠躬老板前;
* 奔驰宝马贵者趣,公交自行程序员。
* 别人笑我忒疯癫,我笑自己命太贱;
* 不见满街漂亮妹,哪个归得程序员?
*/

/**
* Created by Carlos on 2019/2/24.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,38 @@ import android.os.Bundle
import android.webkit.WebView
import com.carlos.grabredenvelope.R

/**
* _ooOoo_
* o8888888o
* 88" . "88
* (| -_- |)
* O\ = /O
* ____/`---'\____
* .' \\| |// `.
* / \\||| : |||// \
* / _||||| -:- |||||- \
* | | \\\ - /// | |
* | \_| ''\---/'' | |
* \ .-\__ `-` ___/-. /
* ___`. .' /--.--\ `. . __
* ."" '< `.___\_<|>_/___.' >'"".
* | | : `- \`.;`\ _ /`;.`/ - ` : | |
* \ \ `-. \_ __\ /__ _/ .-` / /
* ======`-.____`-.___\_____/___.-`____.-'======
* `=---='
* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* 佛祖保佑 永无BUG
* 佛曰:
* 写字楼里写字间,写字间里程序员;
* 程序人员写程序,又拿程序换酒钱。
* 酒醒只在网上坐,酒醉还来网下眠;
* 酒醉酒醒日复日,网上网下年复年。
* 但愿老死电脑间,不愿鞠躬老板前;
* 奔驰宝马贵者趣,公交自行程序员。
* 别人笑我忒疯癫,我笑自己命太贱;
* 不见满街漂亮妹,哪个归得程序员?
*/

/**
* Created by Carlos on 2019/2/23.
*/
Expand Down
Loading

0 comments on commit 6976813

Please sign in to comment.