Code example for ListFragment

Methods: getFragmentManager

0
adapter.notifyDataSetChanged();
	} 
	 
    private void showNewGarmentDialog() { 
        FragmentTransaction ft = getFragmentManager().beginTransaction();
        CreateNewGarmentFragmentDialog newGarmentDialog = new CreateNewGarmentFragmentDialog();
        newGarmentDialog.setTargetFragment(this, 1);;
        newGarmentDialog.show(ft, "fragment_edit_name");
    } 
 
	 
    @Override 
    public void onFinishCreateGarmentDialog(String inputText) {
    	addNewGarmentToDataSource(inputText);
    } 
 
 
 
 
	@Override