Using same activity for Save and Edit

view full story

http://stackoverflow.com – I have a ListFragment and I want to edit item when clicked in List View. This is psuedo code of my List Fragment. @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { // Inflate the layout for this fragment } @Override public void onCreate(Bundle savedInstanceState) { super.setHasOptionsMenu(true); super.onCreate(savedInstanceState); getActivity().setTitle(TITLE); } @Override public void onResume() { super.onResume(); //Use custom adapter to display l (HowTos)