Does anybody know, if there is a possibility to do something (in my case finish activity) on toast message will be closed?
I've just make a simple library for that "issue" Download:
https://github.com/mkiisoft/Toaster
and use it this way:
Toaster.getInstance().makeText(context, "your custom message", Toast.LENGTH_SHORT, new OnToasterFinish() {
@Override
public void finish() {
// Your code over here after the Toast
}
});