But you basically have a count in an AtomicInteger...
# android
j
But you basically have a count in an AtomicInteger and then in each onSuccess you decrement the count and if it's equal to 0 then both have finished