I have a button in my activity. If I click on the Toast show. But when I click Toast show again. Therefore, as a result, when I click many times, this toast will appear for a long time. When it first disappears, the next one appears, etc. How can I do, when I press the button again, the first toast will be hidden.
source
share