yesidlazaro / GmailBackground

a small library to send a email in background withou user interaction
158 stars 70 forks source link

Failed to show Toast in OnSuccessCallback #23

Open Sekhtech opened 8 years ago

Sekhtech commented 8 years ago

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

Leepee commented 7 years ago

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

moshulu commented 6 years ago

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 commented 6 years ago

@moshulu Out of date library!!! Forked version here https://github.com/yesidlazaro/GmailBackground/issues/39