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; /* w ww.java 2s . c o m*/ import com.octo.android.robospice.request.retrofit.RetrofitSpiceRequest; import com.floatboth.antigravity.data.*; public class DeleteFileRequest extends RetrofitSpiceRequest<File, ADNClient> { private String accessToken; private String id; public DeleteFileRequest(String accessToken, String id) { super(File.class, ADNClient.class); this.accessToken = accessToken; this.id = id; } @Override public File loadDataFromNetwork() { return getService().deleteFile(accessToken, id).data; } }