Android Open Source - YELPIO App Data Collect






From Project

Back to project page YELPIO.

License

The source code is released under:

Apache License

If you think the Android project YELPIO listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package io.prediction.example.yelp;
/*from w ww  . java 2s.  c o m*/
import android.app.Application;

import java.util.ArrayList;
import java.util.HashMap;

/**
 * Save Restaurant maps
 */
public class AppDataCollect extends Application {
    private HashMap<String, Restaurant> restaurant_maps = new HashMap<String, Restaurant>();

    private ArrayList<Restaurant> restaurants_list = new ArrayList<Restaurant>();

    public HashMap<String, Restaurant> getRestaurantMaps() {
        return restaurant_maps;
    }

    public ArrayList<Restaurant> getRestaurants_list() { return restaurants_list; }

    public void setRestaurants_list(ArrayList<Restaurant> list) {
        this.restaurants_list = list;
    }

    public void setRestaurantMaps(HashMap<String, Restaurant> restaurant_maps) {
        this.restaurant_maps = restaurant_maps;
    }
}




Java Source Code List

io.prediction.example.yelp.AppDataCollect.java
io.prediction.example.yelp.DetailActivity.java
io.prediction.example.yelp.DeviceUuidFactory.java
io.prediction.example.yelp.IntroActivity.java
io.prediction.example.yelp.PrefActivity.java
io.prediction.example.yelp.RestaurantListActivity.java
io.prediction.example.yelp.Restaurant.java