0

I'm developing an android application, so i have a nice GUI with many buttons. Every one when clicked, declenche w new task to load data from distant server (for that i'm using Hessian). for more detail: supposing we have two buttons:

  1. the first one for loading Events and the other for doing something else.
  2. when i click on the first one and before the load is complete, i clicked on the other button.
  3. at that time i want to annulate the first task(i'm using AsyncTask) and start the second. How can i do it?
Sidaoui Majdi
  • 399
  • 7
  • 26

0 Answers0