yesidlazaro/GmailBackground

onSuccessCallback.onSuccess() not being called when .withProcessVisibility(false)

lindevs opened this issue · 3 comments

I want remove ProgressDialog when sending email, so I add to builder .withProcessVisibility(false). Now ProgressDialog dialog not showing but onSuccess() not being called.

 .withOnSuccessCallback(new BackgroundMail.OnSuccessCallback() {
     @Override
     public void onSuccess() {
            Log.i("MY_PROG", "message sended");
     }
})

Please merge this fix commit. I have the same issue.

@ogasimli While waiting for the author merge this fixing PR on this issue, you could check out my fork repo instead https://github.com/luongvo/GmailBackground It's the same to this lib but has some bugs fixing and features

great. thank you very much @luongvo!