Android Open Source - Joetz-Android-V2 Post Request Task

From Project

Back to project page Joetz-Android-V2.


The source code is released under:

GNU General Public License

If you think the Android project Joetz-Android-V2 listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.example.jens.myapplication.apimanager;
//from  ww  w. j  ava  2s  . c  om
 * Task defining what to do after a request has completed
public interface PostRequestTask<T> {
     * This method is called when an api request is finished
     * @param obj The object returned from the request (if request was successful)
     * @param statusCode The status code of the response
    public void doTask(T obj, int statusCode);

Java Source Code List