Code example for ListFragment

Methods: getActivity, onResume, setListAdapter

0
		} 
	}; 
	 
	@Override 
	public void onResume() { 
		super.onResume(); 
		playList = FavoriteDao.FindAll(getActivity());
		 
		adapter = new PlayListAdapter(getActivity(), android.R.layout.simple_list_item_2, playList);
		setListAdapter(adapter);
		 
	} 
	 
	@Override 
	public void onDialogNegativeClick(long id) {
		 
	} 
	 
	@Override 
	public void onDialogPositiveClick(long id) {
		Log.d(TAG,"delete yes.");