Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to cancel a synchronous call #30

Closed
LOWANGA opened this issue Sep 19, 2016 · 3 comments
Closed

how to cancel a synchronous call #30

LOWANGA opened this issue Sep 19, 2016 · 3 comments

Comments

@LOWANGA
Copy link

LOWANGA commented Sep 19, 2016

how to cancle a synchronous call

@amitshekhariitbhu amitshekhariitbhu changed the title how to cancle a synchronous call how to cancel a synchronous call Sep 19, 2016
@LOWANGA
Copy link
Author

LOWANGA commented Sep 19, 2016

but it is not add "ANRequestQueue.getInstance().addRequest(this)"
public ANResponse executeForString() {
this.mResponseType = ResponseType.STRING;
return SynchronousCall.execute(this);
}

@amitshekhariitbhu
Copy link
Owner

amitshekhariitbhu commented Sep 19, 2016

@LOWANGA : If you are using the Synchronous request. You must be calling it from your custom thread. So, I believe that you should implement at your end. You should kill the thread

@LOWANGA
Copy link
Author

LOWANGA commented Sep 19, 2016

I see
thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants