Mostly we handle network things in AsyncTask(doInBackground method). I have googled many times to find the most easy and robust way to handle network things. I have also searched here to find the appropriate answer. But still I didn't.
Maximum developers(including me) like to handle this with AsyncTask. But I don't think this is the perfect way. I have faced many problems(like slow process, ANR(Application Not Responding) for this.
So I am excepting the best answer, which will help me and many developers to handle network things in a best way.