title: How to create an Alert with don't show this again option in a centralized Alerts class
body: <p>I have an Alerts class where I define all alert windows of my app with methods in this forms</p>
  
  <pre><code>   public static void Alert1(Context con) {
              AlertDialog.Builder builder = new AlertDialog.Builder(con);
              builder.setTitle("my title");
              builder.setIcon(android.R.drawable.ic_dialog_info);
              DialogListner listner = new DialogListner();
              builder.setMessage("my message");
              builder.setPositiveButton("ok", listner);
  
              AlertDialog diag = builder.create();
              diag.show();
      }
  </code></pre>
  
  <p>Now I want to create in a similar way also an Alert windows with a checkBox <strong><em>"Don't show this again"</em></strong> that if is selected avoid the view of this Alert</p>