@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setHasOptionsMenu(true); setRetainInstance(true); mHandler = new NotifyingAsyncQueryHandler(getActivity().getContentResolver()); mHandler.setDeleteListener(this); }
private void deletePlace(long placeId) { mHandler.startDelete(LogbookContract.Places.buildPlaceUri(placeId)); }