Can I use the volley network operation in a separate thread for each network call: -
< Pre> new thread () {@ Override Public Wide Run} (// Volley Request obj JsonArrayRequest movieReq = new JsonArrayRequest (url, new response.Listener & lt; JSONArray & gt; () {@Override public void onResponse (JSONArray response) {log.D (tag, response string ());}, new response error line () {@ override public wide on error response (volley error) {vol. Og de. (Tag, "Error:" + Trutiktet message ());}}); }};
Here is the answer to your question, which has already been posted on StackOverflow .
Volley networking stuffs you on the second thread and sends it back to the main thread.
No comments:
Post a Comment