Skip to content Skip to sidebar Skip to footer

Volley Not Sending Correct Data. How To Implement An Alternative To Onpostexecute()?

I'm using Volley to get some JSON data to populate a RecyclerView list. The initial JSON file returns some information like: id server status If I request a new JSON using 'Serv

Solution 1:

I solved my problem by dumping Volley altogether and moving to Retrofit. I setup all the calls to be sync/blocking, worked out the exceptions/errors using try/catches and setup a short timeout on the OkHTTP client. Now it's working as I wanted.


Post a Comment for "Volley Not Sending Correct Data. How To Implement An Alternative To Onpostexecute()?"