Android tutorial (2018) - 58- Pop Up Message Using Snackbar
This video demonstrate how to use Snackbar in your Android Application.
You can use Snackbar for display a brief message to the user. This message will go away after a specific time. The snackbar is suitable for display messages on witch the user doesn't need to act on.
For showing a Snackbar follow the step given bellow.
1 . Create a CoordinatorLayout.
The Snackbar provide more functionality when it is attached to a coordinatorlayout.
2. Create a Snackbar Object.
Call the Snacknar.make() method .
This method takes three parameters. ViewId, StringId, and Duration.
3. Finally call the show meyhod on the snackbar object .
Like my Facebook page : https://www.facebook.com/codeglympse
Subscribe My YouTube channel : http://www.youtube.com/ticoontechnologies