public void retainProgress(final String title,final String message,final int progress){
  mTitle=title;
  mMessage=message;
  mProgress=progress;
}

public void retainProgress ( final String title , final String message , final int progress ) { mTitle = title ; mMessage = message ; mProgress = progress ; }
saves progress dialog state for later restore ( e . g . on device rotation )
