I have a very simple Toast
shown under certain circumstamces:
if (!this.isFinishing()) {
Toast.makeText(this, R.string.my_toast_message, Toast.LENGTH_LONG).show();
]
Most of the times the Toast
is shown and fades away as supposed but sometimes remains always visible and even if you terminate the App the Toast
doesn't disappear.
This is a problem that occurs sporadically but when It happens It is very annoying and the only way to make the Toast
fading away is rebooting the system or doing whatever thing that could show another Toast
of whatever App.
This looks like a problem of Android itself rather than App since I have seen this issue happening on different devices and different Apps that use Toast
.
I'm wondering if there is some workaround to prevent this issue.