Esempio n. 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());
 }
Esempio n. 2
0
 @Override
 public void showRestaurantInfo(Uri uri) {
   String region = uri.toString();
   Restaurant restaurantInfo = model.putSlotMachineButton(region);
   startRestaurantInfoActivity(restaurantInfo);
 }
Esempio n. 3
0
 @Override
 public void saveRestaurantInformation(Restaurant restaurant) {
   model.saveRestaurant(restaurant);
   getFragmentManager().popBackStackImmediate();
 }