Implementing Snackbars with android
Snackbar is a lightweight-widget that we can use as an alternative to Toast. Snackbar is used to show messages to user at bottom of app screen with swiping enabled also contains an optional action button to perform user actions.