@@ -0,0 +1,1143 @@
+package com.ruigoncalo.marvin.repository;%0A%0Aimport com.ruigoncalo.marvin.api.ApiManager;%0Aimport com.ruigoncalo.marvin.model.raw.Character;%0Aimport com.ruigoncalo.marvin.model.raw.Characters;%0Aimport com.ruigoncalo.marvin.utils.Callback;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0A%0Aimport retrofit2.Call;%0Aimport retrofit2.Response;%0A%0A/**%0A * Created by ruigoncalo on 24/04/16.%0A */%0Apublic class CharactersStore %7B%0A%0A    private ApiManager apiManager;%0A%0A    private List%3CCharacter%3E list;%0A%0A    public CharactersStore(ApiManager apiManager) %7B%0A        this.apiManager = apiManager;%0A        this.list = new ArrayList%3C%3E();%0A    %7D%0A%0A    public void getList(final Callback%3CList%3CCharacter%3E%3E callback) %7B%0A        apiManager.getCharacters(new retrofit2.Callback%3CCharacters%3E() %7B%0A            @Override%0A            public void onResponse(Call%3CCharacters%3E call, Response%3CCharacters%3E response) %7B%0A                callback.onSuccess(response.body().getData().getCharacters());%0A            %7D%0A%0A            @Override%0A            public void onFailure(Call%3CCharacters%3E call, Throwable t) %7B%0A                callback.onFailure(%22Error%22);%0A            %7D%0A        %7D);%0A    %7D%0A%7D%0A

Create repository package