Code example for ListFragment

Methods: onAttach

0
		mHelper = new DreamDroidFragmentHelper();
	} 
 
	@Override 
	public void onAttach(Activity activity) {
		super.onAttach(activity);
		mHelper.onAttach(activity);
	} 
 
	@Override 
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		if (mHelper == null)
			mHelper = new DreamDroidFragmentHelper(this);
		else 
			mHelper.bindToFragment(this);
		mHelper.onCreate(savedInstanceState);
		setRetainInstance(true);
	} 
 
Stop searching for code, let great code find you!  Add Codota to your java IDE