I have an MainActivity class. one Login class which extends AsyncTask. after execute Login class, it will return JSONObject to MainActivity like:
AsyncTask<Void, Void, JSONObject> getData = (new Login()).execute();
Now how can I separate data from getData?
my returned JOSNObject will looks like:
{"FirstName":"A","LastName":"B","ID":"09","Cell":"0123456789","Email":"abc@yahoo.com"}
or do I need to handle these in different way?