Answers for "how to show snackbar in android fragment"

1

show snackbar in fragment

Snackbar snackBar = Snackbar.make(getActivity().findViewById(android.R.id.content),
           "Look at me, I'm a fancy snackbar", Snackbar.LENGTH_LONG);
snackBar.show();
Posted by: Guest on October-21-2020
1

snackbar android

Snackbar snackbar =  Snackbar.make(view, text, Snackbar.LENGTH_LONG);
                    snackbar.show();
Posted by: Guest on March-11-2021

Code answers related to "how to show snackbar in android fragment"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language