Code example for Fragment

Methods: getFragmentManager

0
	protected abstract class TCQueryTask extends AsyncTask<Void,Void,String> {
		@Override 
		protected void onPreExecute() { 
			super.onPreExecute(); 
			DialogFragment newFragment = ProgressDialogFragment.newInstance("", "");
			newFragment.show(getFragmentManager(), PROGRESS_DIALOG_TAG);
		} 
 
		@Override 
		protected void onPostExecute(String obj) {
			super.onPostExecute(obj);
			AndroidLogWrapper.d(TCQueryAction.class,"Finished loading " + TCQueryAction.this);
			dismiss(); 
			if (onCompleteListener != null ) {
				onCompleteListener.onTCQueryComplete(obj);
			} 
		} 
	} 
 
	protected void writeMotor( TCMotor mi, ThrustCurveMotor thrustCurveMotor) throws Exception {