As I noticed, in Android 3.0 and higher, all AsyncTasks are pushed in the stack and are executed in order, however in earlier versions they are executed independently. Can I somehow apply same style on Android <3.0 as in >=3.0?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I did not test this, but this class should be used instead of the default AsyncTask and it should work on any API with a single working thread.
If you want the opposite behaviour:
Use this AsyncTask instead of the default task. Use
run()function to start it instead ofexecute