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

Horstmann strikes again: I've updated the link to newscastle develop

Signed-off-by: Lucas Braz Cunha's avatarLucas B. Cunha <lbc16@inf.ufpr.br>
parent 24fae61f
......@@ -15,7 +15,7 @@ import retrofit2.converter.gson.GsonConverterFactory;
public abstract class ApiUtils {
public static final String BASE_URL = "http://10.0.2.2:3000/v1/";
// public static final String BASE_URL = "http://newcastle.c3sl.ufpr.br/devapi/v1/";
// public static final String BASE_URL = "http://newcastle.c3sl.ufpr.br/develop/v1/";
public static ApiEndpoints request(final Map<String, String> header) {
OkHttpClient.Builder httpClient = new OkHttpClient.Builder();
......
......@@ -97,8 +97,8 @@ public class DependentsListPresenter extends BasePresenter<DependentsListActivit
switch (status) {
case 200:
Log.d("Server response", getClass().getName() + ": 200 - Sucesso!");
presenter.view().onDependentReceived(dependent);
presenter.view().setProgressBar(false);
presenter.view().onDependentReceived(dependent);
break;
default:
Log.e("Server response", getClass().getName() + ": ERRO:" + status);
......
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