android - Is Volley API suitable for getting an apps initial configuration data? -


i have implemented volley network request processing. however, when app starts goes out , gets configuration file needs. wondering if volley right choice getting initial configuration data? take time instantiate volley threads queue, cache etc, , perhaps 1 initial request wrong choice? wanted feedback on this. on 1 hand choice because of retrypolicy settings attempt several times full-fill request, on other-hand take time volley request queue setup, , volley threads running? better off issuing initial request using asynctask?

use volley if find features useful or want maintain consistency way perform network requests in rest of app.

the amount of time required volley setup run not important. round trip time needed fetch configuration file in 100s of ms. whereas setting volley require 10s of ms @ most.


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -