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);
	} 
 
Experience pair programming with AI  Get Codota for Java