Code example for ListFragment

Methods: onSaveInstanceState

0
	} 
 
	 
	@Override 
	public void onSaveInstanceState(Bundle outState) {
		super.onSaveInstanceState(outState);
		outState.putInt("curChoice", mCurCheckPosition);
	} 
 
 
	@Override 
	public void onListItemClick(ListView l, View v, int position, long id) {
			showDetails(position);	
	} 
 
 
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
		View view = super.onCreateView(inflater, container, savedInstanceState);
		view.setBackgroundColor(Color.WHITE);
		return view;
Stop searching for code, let great code find you!  Add Codota to your java IDE