Custom duration in milliseconds as a parameter for the setDuration method is available when you are working with:


Custom duration in milliseconds as a parameter for the setDuration method is available when you are working with:
A . Toast
B . Snackbar
C . for none of them
D . for both of them

Answer: B

Explanation:

Reference:

https://developer.android.com/guide/topics/ui/notifiers/toasts

https://developer.android.com/training/snackbar/action

Leave a Reply

Your email address will not be published.