Code example for DialogFragment

Methods: getActivity, onActivityCreated

0
		mListener = listener;
	} 
	 
	@Override 
	public void onActivityCreated(Bundle savedInstanceState) {
		super.onActivityCreated(savedInstanceState);
		mQueryHandler = new ObservableAsyncQueryHandler(getActivity(), this);
	} 
 
	protected abstract View createContentView(Bundle savedInstanceState, LayoutInflater inflater);
 
	protected abstract void performTask() throws Exception; 
 
	protected void onStartTask() { 
	} 
 
	protected void onCancelTask() { 
	} 
 
	protected void onCompleteTask() { 
		if (mListener != null) {