How can I implement a Toast as a product of a button click?

I need an example on how to implement a Toast after to hit a Button. Thanks