Пример #1
0
 public void doPositiveClick(String location) {
   // Do stuff here.
   model.saveLocation(location);
   android.app.Fragment locationFragment =
       getFragmentManager().findFragmentByTag(Consts.LOCATION_FRAGMENT);
   locationFragment.onResume();
   Log.i("Location Fragment", locationFragment.toString());
 }
Пример #2
0
 @Override
 public void showRestaurantInfo(Uri uri) {
   String region = uri.toString();
   Restaurant restaurantInfo = model.putSlotMachineButton(region);
   startRestaurantInfoActivity(restaurantInfo);
 }
Пример #3
0
 @Override
 public void saveRestaurantInformation(Restaurant restaurant) {
   model.saveRestaurant(restaurant);
   getFragmentManager().popBackStackImmediate();
 }