I am getting error while creating a Toast
Toast
Toast toast = Toast.makeText(this, text, duration);
I am getting cannot resolve ma
ma
In case of a Toast in a fragment inside a Tabbed Activity, use getContext() e.g.
Toast.makeText(getContext(), "Your Text Here", Toast.LENGTH_SHORT).show();