I get the following Android exception when I try to open a dialog. Can someone please help me understand what is going on and how can I fix this problem?
and
Use this and context not worked for me..but MyActivityName.this worked. Hope this helps anyone who need it.