Android Create Toast In Fragment

To create a Toast in Fragment first take a look at the steps here

When that is in order, extended Fragment and create the fa object you can create your Toast like this:

Toast.makeText(fa, message, Toast.LENGTH_LONG).show();

Previous step.

Next step.

Posted in Android, Tips and Tricks Tagged with: , ,
0 comments on “Android Create Toast In Fragment
1 Pings/Trackbacks for "Android Create Toast In Fragment"