Skip to content
This repository was archived by the owner on Mar 6, 2023. It is now read-only.

fix - prevent both listeners from being called on error#87

Open
johnhiott wants to merge 1 commit into
votinginfoproject:developfrom
johnhiott:develop
Open

fix - prevent both listeners from being called on error#87
johnhiott wants to merge 1 commit into
votinginfoproject:developfrom
johnhiott:develop

Conversation

@johnhiott
Copy link
Copy Markdown

When the response was an error, both callbacks were being called causing the error message in the status textview to be wrong.

A lot more can probably be done here but this works.

@flibbertigibbet
Copy link
Copy Markdown
Contributor

Could call cancel(true) after publishProgress instead.

@johnhiott
Copy link
Copy Markdown
Author

I agree, I like that better. Sorry :) Have not used an async task in sometime.

Pull Request should now reflect the change.

@flibbertigibbet
Copy link
Copy Markdown
Contributor

+1 from me; not sure if there's anyone else doing code review for this project now.

@acohen84
Copy link
Copy Markdown

acohen84 commented Feb 8, 2016

Thanks @flibbertigibbet - we're between vendors right now, but expect to have someone on ASAP.

@mlekalshaat
Copy link
Copy Markdown

Afgfhd yfavchvg

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants