I had seen that the Toast in android->
Toast toast = Toast.makeText(context, text, duration);
toast.show();
From seen that, I think that makeText a static method and show method non-static method.
But after that seen->
Toast.makeText(context, text, duration).show();
I am get confused. How show() is called without creating an object of Toast class?(If show method is non-static-according to first code)