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