AsiaCel
shalom goyim
★★★★★
- Joined
- Nov 24, 2017
- Posts
- 30,118
- Online time
- 15h 27m
this will blow up my phoneSnackbars provide lightweight feedback about an operation. They show a brief message at the bottom of the screen on mobile and lower left on larger devices. Snackbars appear above all other elements on screen and only one can be displayed at a time.
Snackbars can contain an action which is set via setAction(CharSequence, android.view.View.OnClickListener).
Snackbars automatically disappear after a timeout. They can also be dismissed by being swiped off screen, by action click, from a new snackbar being displayed, or manually via a call to dismiss().
To be notified when a snackbar has been shown or dismissed, you can provide a Snackbar.Callback via BaseTransientBottomBar.addCallback(BaseCallback).
For more information, see the component developer guidance and design guidelines.





