Code example for ListFragment

Methods: getListView, onActivityCreated, registerForContextMenu

0
		mGameOverviewCallback = (GameOverviewCallback) activity;
	} 
	 
	@Override 
	public void onActivityCreated(Bundle savedInstanceState) {
		super.onActivityCreated(savedInstanceState);
		getListView().setSelector(GameKey.getSelectorResource(GAMEKEY));
		fillData(); 
		registerForContextMenu(getListView());
		restoreFromSave(savedInstanceState);
	} 
	 
	private void restoreFromSave(Bundle savedInstanceState) {
		if (savedInstanceState == null) {
			return; 
		} 
		setHighlightedGameId(savedInstanceState.getLong(STORAGE_HIGHLIGHTED_GAME_ID, Game.NO_ID));
	} 
	 
    @Override 
    public View onCreateView(LayoutInflater inflater, ViewGroup container,