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 va2 s. c o m import com.octo.android.robospice.request.retrofit.RetrofitSpiceRequest; import com.floatboth.antigravity.data.*; public class CreatePostRequest extends RetrofitSpiceRequest<Post, ADNClient> { private String accessToken; private Post post; public CreatePostRequest(String accessToken, Post post) { super(Post.class, ADNClient.class); this.accessToken = accessToken; this.post = post; } @Override public Post loadDataFromNetwork() { return getService().createPost(accessToken, post).data; } }