0
Slow Json parsing in android
I am using WordPress rest API to fetch data and I am only fetching 10 posts at a time using volley. When I request API in the browser it gives me a result under 6-7 seconds... But my app takes more than 15 sec to show that 10 posts. I set a connection timeout in 30 seconds..and asks to retry. Sometimes, I have to retry 1-2 times. Which Means sometimes it takes more than 1 minute to show data. Code:- https://code.sololearn.com/c2WMufDCX4TI
1 Réponse
0
u could try this:
set more time using your volley lib.
using other lib like retrofit with +ok http also more time.
and test time request in postman maybe.