Skip to content

Commit c2f8af0

Browse files
committed
Update libs and adjust code for them
1 parent 2891a9e commit c2f8af0

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

app/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,21 @@ dependencies {
3232
compile 'com.github.orhanobut:hawk:1.20'
3333
compile 'net.danlew:android.joda:2.9.0'
3434
compile 'com.github.bumptech.glide:glide:3.6.1'
35-
compile 'com.mikepenz:iconics-core:2.1.0@aar'
35+
compile 'com.mikepenz:iconics-core:2.2.0@aar'
3636
compile('com.afollestad.material-dialogs:core:0.8.5.0@aar') {
3737
transitive = true
3838
}
39-
compile('com.mikepenz:aboutlibraries:5.3.2@aar') {
39+
compile('com.mikepenz:aboutlibraries:5.3.3@aar') {
4040
transitive = true
4141
}
42-
compile('com.mikepenz:materialdrawer:4.4.6@aar') {
42+
compile('com.mikepenz:materialdrawer:4.4.7@aar') {
4343
transitive = true
4444
}
4545
compile 'com.mikepenz:google-material-typeface:2.2.0.1@aar'
4646
compile('com.github.rubengees:introduction:1.1.3@aar') {
4747
transitive = true
4848
}
49-
compile('com.github.proxer:ProxerLibAndroid:1.2.1@aar') {
49+
compile('com.github.proxer:ProxerLibAndroid:1.2.2@aar') {
5050
transitive = true
5151
}
5252

app/src/main/java/com/proxerme/app/dialog/LoginDialog.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public void onDestroyView() {
107107
public void onDismiss(DialogInterface dialog) {
108108
super.onDismiss(dialog);
109109

110-
ProxerConnection.cancelSync(ProxerTag.LOGIN, false);
110+
ProxerConnection.cancel(ProxerTag.LOGIN);
111111
}
112112

113113
@Override

app/src/main/java/com/proxerme/app/fragment/ConferencesFragment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public void onConferenceImageClick(@NonNull View v, @NonNull Conference conferen
100100

101101
@Override
102102
protected void cancelRequest() {
103-
ProxerConnection.cancel(ProxerTag.CONFERENCES, false);
103+
ProxerConnection.cancel(ProxerTag.CONFERENCES);
104104
}
105105

106106
private void startPolling() {

app/src/main/java/com/proxerme/app/fragment/NewsFragment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,6 @@ public void onError(@NonNull ProxerException exception) {
9292

9393
@Override
9494
protected void cancelRequest() {
95-
ProxerConnection.cancel(ProxerTag.NEWS, false);
95+
ProxerConnection.cancel(ProxerTag.NEWS);
9696
}
9797
}

app/src/main/java/com/proxerme/app/manager/UserManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public void changeUser(@NonNull LoginUser user) {
5151
}
5252

5353
public void login(@NonNull LoginUser user) {
54-
ProxerConnection.cancel(ProxerTag.LOGOUT, false);
54+
ProxerConnection.cancel(ProxerTag.LOGOUT);
5555
ProxerConnection.login(user).execute(new ProxerConnection.ResultCallback<LoginUser>() {
5656
@Override
5757
public void onResult(LoginUser loginUser) {
@@ -72,7 +72,7 @@ public void onError(@NonNull ProxerException e) {
7272
}
7373

7474
public void logout(){
75-
ProxerConnection.cancel(ProxerTag.LOGIN, false);
75+
ProxerConnection.cancel(ProxerTag.LOGIN);
7676
ProxerConnection.logout().execute(new ProxerConnection.ResultCallback<Void>() {
7777
@Override
7878
public void onResult(Void aVoid) {

0 commit comments

Comments
 (0)