zhangfy068 / android-query

Automatically exported from code.google.com/p/android-query
0 stars 0 forks source link

Anamolous behaviour after cancelling async task. #111

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I called AjaxCallback.clear() to cancel the aquery. Then, I needed to reload 
the aquery so i initialized it again.
2. Then, I called AjaxCallback.abort() to cancel the aquery. Then, I needed to 
reload the aquery so i initialized it again.
3. Then again, I called AjaxCallback.abort() to cancel the aquery. Then, I 
needed to reload the aquery so i initialized it again.

What is the expected output? What do you see instead?
The aquery needs to reload efficiently every time i initialize it. But, 
sometimes, the cancelling the aquery show anomalous behaviour and does not 
reload.

What version of the product are you using? On what operating system?
android-query.0.24.3.jar

Please provide any additional information below.

Original issue reported on code.google.com by pneup...@braindigit.com on 26 Dec 2012 at 11:36

GoogleCodeExporter commented 9 years ago
User should create a new AjaxCallback object instead of re-use.

Original comment by tinyeeliu@gmail.com on 18 Apr 2013 at 4:36