I am getting error while creating a Toast
Toast
Toast toast = Toast.makeText(this, text, duration);
I am getting cannot resolve ma
ma
Instead of
Add your activity name before "this" word
Toast toast = Toast.makeText(MyActivity.this, text, duration);