Back to project page simple-restaurant.
The source code is released under:
GNU General Public License
If you think the Android project simple-restaurant listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package pad.practica1.restaurante; // w w w . j a va2s . c o m import java.util.ArrayList; import pad.practica1.restaurante.restaurant.Restaurant; import android.app.Application; public class RestaurantApplication extends Application { private Restaurant restaurant = null; private ArrayList<Restaurant> restaurants = new ArrayList<Restaurant>(); public Restaurant getCurrentRestaurant() { return restaurant; } public void setCurrentRestaurant(Restaurant stuff) { this.restaurant = stuff; } public ArrayList<Restaurant> getRestaurants() { return restaurants; } public void setRestaurants(ArrayList<Restaurant> restaurants) { this.restaurants = restaurants; } }