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