Hi folks,
There is an issue I've just spent the last 3 hours getting to the bottom of. I only have a gen 2 mini close to hand. It would be great if someone could run this app exhibiting the issue on a gen 2, Oreo mini (not an emulator).
Issue:
The issue is that if you show a toast, and then show another one before the first one has disappeared, the first toast comes back and will not go away without killing the app from memory. It's a very annoying bug for me as there are multiple places a toast might show itself so to be sure I don't accidentally do this, I will have to remove toasts from my apps or build something to ensure no toast is being displayed before displaying one.
Can anyone confirm the bug exists for them as well? If so I will kill all toasts in our apps.
Some notes:
- I believe this is a Clover bug. Run the app on a standard Oreo emulator or phone, and the bug does exist.
- I can also see that setting the targetSDKVersion to 26 or greater (which we are not supposed to do), makes the bug go away.
- A targetSDKVersion of 17, 19, 21 and 25 all exhibit the same issue.
- Here is a very boring video showing a toast not disappearing