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