public static AlertDialogHelper newInstance(final Fragment container,final int id,final int title,final int message,final String args,final boolean neutralOnly){
  final AlertDialogHelper frag=new AlertDialogHelper();
  frag.setTargetFragment(container,id);
  final Bundle bundle=new Bundle();
  bundle.putInt("dialog_id",id);
  bundle.putInt("title",title);
  bundle.putInt("message",message);
  bundle.putString("args",args);
  bundle.putBoolean("only_neutral",neutralOnly);
  frag.setArguments(bundle);
  return frag;
}

public static AlertDialogHelper newInstance ( final Fragment container , final int id , final int title , final int message , final String args , final boolean neutralOnly ) { final AlertDialogHelper frag = new AlertDialogHelper ( ) ; frag . setTargetFragment ( container , id ) ; final Bundle bundle = new Bundle ( ) ; bundle . putInt ( "dialog_id" , id ) ; bundle . putInt ( "title" , title ) ; bundle . putInt ( "message" , message ) ; bundle . putString ( "args" , args ) ; bundle . putBoolean ( "only_neutral" , neutralOnly ) ; frag . setArguments ( bundle ) ; return frag ; }
creates a new alert dialog
