I\'m trying to use Toast inside OnCLickListener. My code triggers the following error:
Toast
OnCLickListener
The method makeText(Context, CharSequence, int)
Use MyActivity.this as this refers to your onclickListener.
MyActivity.this
this
onclickListener