Commit 01171135 authored by Lucas Braz Cunha's avatar Lucas Braz Cunha

AGILE#251: Fixed activity (citizen & schedulesHistory) behavior when request fails

Signed-off-by: Lucas Braz Cunha's avatarLucas B. Cunha <lbc16@inf.ufpr.br>
parent 91c2a01b
......@@ -28,7 +28,7 @@ dependencies {
compile 'com.android.support:cardview-v7:25.3.1'
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support:design:25.3.1'
compile 'com.google.code.gson:gson:2.7'
compile 'com.google.code.gson:gson:2.8.0'
compile 'com.squareup.retrofit2:retrofit:2.1.0'
compile 'com.squareup.retrofit2:converter-gson:2.1.0'
compile 'com.android.support.test.espresso:espresso-core:2.2.2'
......
......@@ -162,6 +162,13 @@ public class CitizenListActivity extends AppCompatActivity implements CitizenVie
return builder.create();
}
@Override
public void onDismiss(DialogInterface dialog) {
super.onDismiss(dialog);
getActivity().onBackPressed();
}
}
......
......@@ -48,7 +48,6 @@ import br.ufpr.c3sl.agendador.agendador.presenters.PresenterManager;
import br.ufpr.c3sl.agendador.agendador.presenters.SchedulesHistoryPresenter;
import br.ufpr.c3sl.agendador.agendador.views.SchedulesHistoryView;
// TODO: 01/11/17 Correction: Bug related to screen orientation change.
public class SchedulesHistoryActivity extends AppCompatActivity implements NavigationView.OnNavigationItemSelectedListener, SchedulesHistoryView {
......
......@@ -4,6 +4,7 @@ import android.os.Bundle;
import android.support.test.espresso.core.deps.guava.cache.Cache;
import android.support.test.espresso.core.deps.guava.cache.CacheBuilder;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicLong;
......
......@@ -3,9 +3,10 @@
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0'
classpath 'com.android.tools.build:gradle:3.0.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
......@@ -15,6 +16,7 @@ buildscript {
allprojects {
repositories {
jcenter()
google()
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment