Volley: Easy, Fast Networking for Android
summary
Volley is an Android networking library that claims easier and measurably faster app networking: Play Store apps use it, the Google I/O app port takes about half a day, and a Google+ benchmark shows Volley beating others (sometimes up to 10x). It provides default 4 threads with request prioritization, transparent disk and memory caching with millisecond cache hits for 10–50KB images, request cancellation scopes, response batching for synchronized UI fades, easy image helpers like NetworkImageView, GSON/JSON support, and is not meant for large streaming downloads.
AI-written summary · about
chapters (13)
- 0:00Start
- 0:33What is Volley?
- 1:44Everything you need
- 3:50Design tradeoffs
- 5:18Simple JSON protocol GET/api/list HTTP/1.1
- 5:50Application architecture
- 6:08Typical implementation
- 13:24Problems
- 14:37Volley implementation
- 17:47Easy to write custom requests
- 19:30Gson implementation load MoreData
- 21:53Debugging and tracing
- 25:45The main thread Ever written this block of code?
related talks
40mAndroid high performance baby
48mIn the Networks of the Network Layer
28mHow HTTP/2 works, and how Android developers can leverage it
29mBuilding for next billion
38mProtobuf for speeding up your Android application
33mThe making of an Android library: Download Manager v2
29mDon't reinvent the wheel, use libraries: Modern Android Stack
48mEasy, scalable backends for Android developers
