Back to project page protohipster.
The source code is released under:
Apache License
If you think the Android project protohipster 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 com.flipper83.protohipster.feed.datasource.api.call.rest; //from w w w. j a va2 s.c o m import com.flipper83.protohipster.feed.datasource.api.call.ApiCall; import com.flipper83.protohipster.feed.datasource.api.callback.ApiResponseCallback; import retrofit.RestAdapter; /** * Basic Api call to the Api System. */ public abstract class ApiRestCall extends ApiCall { private RestAdapter restAdapter; public ApiRestCall(ApiResponseCallback responseCallback) { super(responseCallback); } @Override public void call(){ this.call(restAdapter); } public abstract void call(RestAdapter restAdapter); public void setRestAdapter(RestAdapter restAdapter) { this.restAdapter = restAdapter; } }