Please accept YouTube cookies to play this video. By accepting you will be accessing content from YouTube, a service provided by an external third party.

YouTube privacy policy

If you accept this notice, your choice will be saved and the page will refresh.

 

Show the video description

This video is a follow up to my “How to Parse a Json Using Volley” video, which you can find here:
youtube.com/watch?v=y2xtLqP8dSQ

In this video we will create a Singleton class for our Volley RequestQueue, so we can use the same RequestQueue instance throughout the whole lifetime of our app, instead of just creating it with the context of a single activity. This is the recommended approach if your app makes constant use of network requests.

Important LinksVolleySingleton.javaMainActivity.javaactivity_main.xmlAndroidManifest.xml