As past when use AsyncTask we have two method doInBackground() to do all work and onPostExecute() to make change when all data back completed, so I can stop all code until the right data come back, then do what I need with this data.
But when I try to move to Volley library, when call request I just have the onResponse() method, but there is problem that I need to do some code depend on back data but there is no way to hold code at this point.
So is there Any way To hold Volley request until the response Completed ?
*I know we can override the onResponse() to do what we need when the full data come back,but this well be a lot of Nested coding and method.
Thanks for all who can help.