I want to wait for two tasks to finish, and then return the result from them, but sometimes I get this error. What for? Where did the CancellationException come from?
public class ShouldVoteTask extends AbstractWorkerTask<Void, Void, Boolean> { private final int placeID; private final int userID; public ShouldVoteTask(final int placeID, final int userID) { this.placeID = placeID; this.userID = userID; } @Override protected Boolean doInBackground(final Void... params) { try {
Mistake
E/AndroidRuntime(19014): FATAL EXCEPTION: AsyncTask
java android multithreading
Emerald214
source share