Code example for FragmentActivity

Methods: setTitle

0
			initPrevButton(); 
		} 
	} 
 
	private void initTitle() { 
		setTitle(step.getTitleResId());
	} 
 
	private void initPrevButton() { 
		final WizardStep prevStep = flow.getPrevStep(step);
		if (prevStep == null) {
			prevButton.setVisibility(GONE);
			prevButton.setOnClickListener(null);
		} else { 
			prevButton.setVisibility(VISIBLE);
			prevButton.setOnClickListener(new View.OnClickListener() {
				@Override 
				public void onClick(View v) {
					if (tryGoPrev()) { 
						setStep(prevStep);
					}