Android toast stuck solution

Overview

Android toast stuck on screen when you called Toast.show() ? There’s a solution.

Android toast stuck

Android toast stuck

Android toast stuck

 

The solution

The solution I found for this problem was offered here. I decided to add the missing code and create this tutorial. The solution is somewhat complex but it works. You’ll need an handler from the onCreate() to your context object to call from inside the onHandleIntent()


That’s it!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.