Code example for ListFragment

Methods: getArguments, getResources, onCreate

0
		public void onListItemClicked(int listviewNumber);
	} 
	 
    @Override 
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		position = getArguments() != null ? getArguments().getInt("num") : 0;
		resources = this.getResources();
		 
		 
    } 
 
	@Override 
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
            Bundle savedInstanceState) {
		//custom view loaded from criteria xml layout file. 
		View view = inflater.inflate(R.layout.criterion_pages, container, false);        
        return view;
	} 
	 
	/**