Skip to content

Commit 7d56f7f

Browse files
committed
add rxjava
1 parent 45c5275 commit 7d56f7f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

app/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ dependencies {
2222
implementation fileTree(dir: 'libs', include: ['*.jar'])
2323
implementation 'com.android.support:appcompat-v7:26.1.0'
2424
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
25+
implementation 'io.reactivex.rxjava2:rxjava:2.1.9'
26+
implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
2527
testImplementation 'junit:junit:4.12'
2628
androidTestImplementation 'com.android.support.test:runner:1.0.1'
2729
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'

app/src/main/java/com/coderpig/wechathelper/HelperService.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,5 +267,8 @@ public void onInterrupt() {
267267

268268
}
269269

270-
270+
@Override
271+
public void onDestroy() {
272+
super.onDestroy();
273+
}
271274
}

0 commit comments

Comments
 (0)