Skip to content

Commit

Permalink
Update libs and adjust code for them
Browse files Browse the repository at this point in the history
  • Loading branch information
rubengees committed Nov 15, 2015
1 parent 2891a9e commit c2f8af0
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,21 @@ dependencies {
compile 'com.github.orhanobut:hawk:1.20'
compile 'net.danlew:android.joda:2.9.0'
compile 'com.github.bumptech.glide:glide:3.6.1'
compile 'com.mikepenz:iconics-core:2.1.0@aar'
compile 'com.mikepenz:iconics-core:2.2.0@aar'
compile('com.afollestad.material-dialogs:core:0.8.5.0@aar') {
transitive = true
}
compile('com.mikepenz:aboutlibraries:5.3.2@aar') {
compile('com.mikepenz:aboutlibraries:5.3.3@aar') {
transitive = true
}
compile('com.mikepenz:materialdrawer:4.4.6@aar') {
compile('com.mikepenz:materialdrawer:4.4.7@aar') {
transitive = true
}
compile 'com.mikepenz:google-material-typeface:2.2.0.1@aar'
compile('com.github.rubengees:introduction:1.1.3@aar') {
transitive = true
}
compile('com.github.proxer:ProxerLibAndroid:1.2.1@aar') {
compile('com.github.proxer:ProxerLibAndroid:1.2.2@aar') {
transitive = true
}

Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/com/proxerme/app/dialog/LoginDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public void onDestroyView() {
public void onDismiss(DialogInterface dialog) {
super.onDismiss(dialog);

ProxerConnection.cancelSync(ProxerTag.LOGIN, false);
ProxerConnection.cancel(ProxerTag.LOGIN);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public void onConferenceImageClick(@NonNull View v, @NonNull Conference conferen

@Override
protected void cancelRequest() {
ProxerConnection.cancel(ProxerTag.CONFERENCES, false);
ProxerConnection.cancel(ProxerTag.CONFERENCES);
}

private void startPolling() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,6 @@ public void onError(@NonNull ProxerException exception) {

@Override
protected void cancelRequest() {
ProxerConnection.cancel(ProxerTag.NEWS, false);
ProxerConnection.cancel(ProxerTag.NEWS);
}
}
4 changes: 2 additions & 2 deletions app/src/main/java/com/proxerme/app/manager/UserManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void changeUser(@NonNull LoginUser user) {
}

public void login(@NonNull LoginUser user) {
ProxerConnection.cancel(ProxerTag.LOGOUT, false);
ProxerConnection.cancel(ProxerTag.LOGOUT);
ProxerConnection.login(user).execute(new ProxerConnection.ResultCallback<LoginUser>() {
@Override
public void onResult(LoginUser loginUser) {
Expand All @@ -72,7 +72,7 @@ public void onError(@NonNull ProxerException e) {
}

public void logout(){
ProxerConnection.cancel(ProxerTag.LOGIN, false);
ProxerConnection.cancel(ProxerTag.LOGIN);
ProxerConnection.logout().execute(new ProxerConnection.ResultCallback<Void>() {
@Override
public void onResult(Void aVoid) {
Expand Down

0 comments on commit c2f8af0

Please sign in to comment.