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