Code example for ListFragment

Methods: setArguments

0
 
	public GenreFragment() { 
 
	} 
 
	public GenreFragment(Bundle args) {
		setArguments(args);
	} 
 
	@Override 
	public void onActivityCreated(Bundle savedInstanceState) {
		super.onActivityCreated(savedInstanceState);
 
		setHasOptionsMenu(true);
 
		mAdapter = new GenresAdapter(getActivity(), null, false);
 
		getLoaderManager().initLoader(0, null, this);
	} 
 
	@Override