Skip to content

Commit

Permalink
更改版本号
Browse files Browse the repository at this point in the history
  • Loading branch information
sunxudong committed Apr 14, 2020
1 parent cef7b3f commit 7466bc6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 14 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ dependencies {
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'

implementation project(':seriallibrary')
implementation 'com.github.Sheedon:SerialDispatcher:1.0.0'
implementation 'com.github.Sheedon:SerialDispatcher:1.1.0'
}
12 changes: 1 addition & 11 deletions app/src/main/java/org/sheedon/demo/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,7 @@ protected void onCreate(Bundle savedInstanceState) {
@Override
public void onClick(View v) {
Call<BoxModel> managerList = remoteService.getManagerList("0800", "02", "03", "01");
managerList.enqueue(new Callback.Call<BoxModel>() {
@Override
public void onResponse(Call<BoxModel> call, Response<BoxModel> response) {
Log.v("SXD",""+response.body());
}

@Override
public void onFailure(Call<BoxModel> call, Throwable t) {
Log.v("SXD",""+t);
}
});
managerList.publishNotCallback();

}
});
Expand Down
4 changes: 2 additions & 2 deletions seriallibrary/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
defaultConfig {
minSdkVersion 16
targetSdkVersion 28
versionCode 1
versionName "1.0"
versionCode 2
versionName "1.1"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles 'consumer-rules.pro'
Expand Down

0 comments on commit 7466bc6

Please sign in to comment.