The advantage is things like retries, restarts, threading & synchronization, and state management will be handled for you. This comes at the expense of configurability, but it's not a huge expense.
Why using a framework to make Http requests in Android instead of using its own classes to make this? [closed]
-
19-06-2023 - |
Question
There are many frameworks to make http requests in Android, like Retrofit and Volley. But also, Android has its own classes to make this type of request, like HttpURLConnection and HttpClient
So what is the advantage of using some framework like these mentioned?
My doubt is if there is some big advantage in make requests using some framework, instead of using Android native classes.
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow