These 2 technologies are different and hardly comparable. They have different goals and can also work together. For example, you can use a Loader, which uses Volley to load data and inherits it directly from Loader (not AsyncTaskLoader, because Volley also handles streams).
The main advantages of using loaders:
- The life cycle synchronizes with the Activity / Fragment life cycle automatically
- Data status and load are not lost when configuration changes
- The boot monitor tracks changes and automatically provides new results to the clientβs fragment / activity.
Key benefits of using Volley:
- High Performance Network Stack
- Automatic disk cache that respects the HTTP server policy
- Powerful cancellation mechanism.
You can combine both to get both sets of benefits, or you can use Volley without bootloaders with its simple API.
source share