With this line of code:
AlertDialog waitingDialog = new SpotsDialog(MainActivity.this);
waitingDialog.show();
I'm getting the following error:
SpotsDialog(android.content.Context, java.lang.String, int, boolean, android.content.DialogInterface.OnCancelListener)'
has private access in dmax.dialog.SpotsDialog
How can I fix this?