Search code examples
androidiosparse-platformbolts-framework

replacement of taskForCompletionOfAllTasks in android?


I am fetching some objects from a class which are used to some other objects from other classes. I have implement it in iOS with taskForCompletionOfAllTasks. How can I implement same in Android. Is there any method which works same on Android which is used taskForCompletionOfAllTasks works on iOS?


Solution

  • You want to use Task.whenAll()
    https://github.com/BoltsFramework/Bolts-Android#tasks-in-parallel