Back to project page antigravity.
The source code is released under:
GNU General Public License
If you think the Android project antigravity 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.floatboth.antigravity.net; //from w w w . j a va 2 s . c o m import com.octo.android.robospice.request.retrofit.RetrofitSpiceRequest; import com.floatboth.antigravity.data.*; public class UpdateFileRequest extends RetrofitSpiceRequest<File, ADNClient> { private String accessToken; private String id; private File file; public UpdateFileRequest(String accessToken, String id, File file) { super(File.class, ADNClient.class); this.accessToken = accessToken; this.id = id; this.file = file; } @Override public File loadDataFromNetwork() { return getService().updateFile(accessToken, id, file).data; } }