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

Failed to show Toast in OnSuccessCallback #23

Open
Sekhtech opened this issue Oct 19, 2016 · 3 comments
Open

Failed to show Toast in OnSuccessCallback #23

Sekhtech opened this issue Oct 19, 2016 · 3 comments

Comments

@Sekhtech
Copy link

I am trying to show a toast when the mail is sent. Should I show the toast in OnSuccessCallback?

@Leepee
Copy link

Leepee commented Mar 3, 2017

This only works if you have .withProcessVisibility(true) at the moment.

@moshulu
Copy link

moshulu commented Aug 15, 2018

Leepee is right.
If you don't want to show the load screen, you must do all of your success conditions outside the BackgroundMail's actions. Might I suggest executing all of the library's methods in an async thread?

@luongvo
Copy link
Contributor

luongvo commented Aug 28, 2018

@moshulu Out of date library!!! Forked version here #39

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

4 participants