Volley is ideal for RPC-like operations (e.g. It also lets you prioritize and cancel requests, a feature not available with the options we've explored to date. Volley allows you to create a queue of network requests, resulting in more efficient use of available bandwith and system resources. This lesson introduces you to the Volley library, which is available on Github. Which technique we use is situation dependant and, many times, based on the experience of the developer. So far, we have used the XMLPullParser to retrieve XML and RSS data and the HttpURLConnection for other page content, like JSON. Retrieving and Sending Network Data with Volley IntroĪs with all things programming, there are multiple ways to accomplish sending HTTP requests.
0 Comments
Leave a Reply. |