I'm developing an application where I have to make multiple volley requests in parallel to populate spinners, and there are two moments when I call this screen.
The first time is for a new registration, where all the features are in agreement with what I would like.
The second time is to edit the register, where they should load the data of the spinneres and then fill with the value already pre-registered previously by the user. However, while trying to fetch the data and stay in the spinner, the data has not yet been fetched.
I would like to know the best solution to accomplish this task ... I saw some people talking about AsyncTask, would this be the best option?