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

Issue AGILE#166: Receiving image

Signed-off-by: Lucas Braz Cunha's avatarLucas B. Cunha <>
parent 8f423cac
......@@ -100,6 +100,8 @@ public class LoginPresenter extends BasePresenter<LoginView> {
// TODO: 17/04/17 Fazer amanhã: salvar data da ultima imagem salva localmente
//e só pedir denovo se a que tem no servidor for mais recente
private void requestImage() {
Map<String, String> header = new HashMap<>();
......@@ -140,6 +142,7 @@ public class LoginPresenter extends BasePresenter<LoginView> {
public void onFailure(Call<ResponseBody> call, Throwable t) {
// TODO: 17/04/17 what to do if request fails to get image?
// Service running to check connection?(only if image is newer
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