You could also have just one AyncTask doing all three tasks...
...
public Result doInBackground(Param parm) {
boolean result1 = callSomeTask1();
if (result1) {
callSomeTask2();
}
else {
calSomeTask3();
}
}
private boolean callSomeTask1() {
...
...
}
private void callSomeTask2() {
...
...
}
private void callSomeTask3() {
...
...
}
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en