Back to project page dw2020.
The source code is released under:
Apache License
If you think the Android project dw2020 listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package net.darkwire.example.service; // ww w .j a v a 2s .com import net.darkwire.example.service.catalog.UrlCatalog; import net.darkwire.example.service.client.FiveHundredPxClient; import com.octo.android.robospice.retrofit.RetrofitJackson2SpiceService; import retrofit.RestAdapter; /** * Created by fsiu on 3/21/14. */ public class FiveHundredPxJacksonSpiceService extends RetrofitJackson2SpiceService { @Override public void onCreate() { super.onCreate(); addRetrofitInterface(FiveHundredPx.class); } @Override protected String getServerUrl() { return UrlCatalog.FIVE_HUNDRED_PX_URL; } @Override protected RestAdapter.Builder createRestAdapterBuilder() { return super.createRestAdapterBuilder().setClient(FiveHundredPxClient.INSTANCE.getClient()); } }