Home | History | Annotate | Download | only in ui

Lines Matching refs:attraction

38 import com.example.android.xyztouristattractions.common.Attraction;
58 * one attraction and each column shows information or actions for that
59 * particular attraction.
73 private ArrayList<Attraction> mAttractions = new ArrayList<Attraction>();
173 * A background task to load the attraction data via the Wear DataApi.
178 AsyncTask<Uri, Void, ArrayList<Attraction>> {
187 protected ArrayList<Attraction> doInBackground(Uri... params) {
213 // Loop through each attraction, adding them to the list
218 Attraction attraction = new Attraction();
219 attraction.name = attractionData.getString(Constants.EXTRA_TITLE);
220 attraction.description =
222 attraction.city = attractionData.get(Constants.EXTRA_CITY);
223 attraction.distance =
225 attraction.location = new LatLng(
228 attraction.image = Utils.loadBitmapFromAsset(googleApiClient,
230 attraction.secondaryImage = Utils.loadBitmapFromAsset(googleApiClient,
233 mAttractions.add(attraction);
243 protected void onPostExecute(ArrayList<Attraction> result) {