V
V
vladocc2015-12-24 09:05:42
Java
vladocc, 2015-12-24 09:05:42

How to fix the error when out of two AsyncTasks running in a row, only the first one starts?

There are two Asynctasks. They are called in succession:

new Update().execute();
new FindMusic().execute();

In this case, only the first of them is launched, regardless of the sequence in which they go.
What is the reason for this behavior and how can I get rid of it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
one pavel, 2015-12-24
@onepavel

open the asyncTask documentation and read how the serial launch occurs, and how it works in parallel.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question