Skip to content

Instantly share code, notes, and snippets.

View chicofilho's full-sized avatar

Francisco Pimentel chicofilho

View GitHub Profile
@chicofilho
chicofilho / AuthLayer.java
Last active August 29, 2015 14:24
The way I manage POST and GET in Android Apps
/* this is not a mandatory class for the process of doing HTTP requests. It is only neccessary for those working with API.
* it is important to notice that it might be changed regarding the needs of the project
*/
package br.com.say2me.app.async;
import br.com.say2me.app.MainActivity;
import android.os.AsyncTask;
public class AuthLayer extends AsyncTask<Object, Object, Object>{