I want to ask as what would be the best approach to following scenario :
Say for example I wanted to make 10 Network calls simultaneously and wait for all of them to finish. Once done I want to process the data and later show it on UI.
I was thinking about going with ExecutorService vs Volley RequestFuture
- Not sure if adding RequestFuture to RequestQueue would block other Non-Future Request?
- I can have my data manipulation take place in background thread (Runnable in ExecutionService) rather than inside Response on UI Thread from volley.
0 comments:
Post a Comment