Searched refs:Attraction (Results 1 – 7 of 7) sorted by relevance
21 import com.example.android.xyztouristattractions.common.Attraction;52 public static final HashMap<String, List<Attraction>> ATTRACTIONS =53 new HashMap<String, List<Attraction>>() {{55 put(CITY_SYDNEY, new ArrayList<Attraction>() {{56 add(new Attraction(66 add(new Attraction(76 add(new Attraction(86 add(new Attraction(96 add(new Attraction(
37 import com.example.android.xyztouristattractions.common.Attraction;74 List<Attraction> attractions = loadAttractionsFromLocation(mLatestLocation); in onCreateView()114 private static List<Attraction> loadAttractionsFromLocation(final LatLng curLatLng) { in loadAttractionsFromLocation()117 List<Attraction> attractions = ATTRACTIONS.get(closestCity); in loadAttractionsFromLocation()120 new Comparator<Attraction>() { in loadAttractionsFromLocation()122 public int compare(Attraction lhs, Attraction rhs) { in loadAttractionsFromLocation()140 public List<Attraction> mAttractionList;143 public AttractionAdapter(Context context, List<Attraction> attractions) { in AttractionAdapter()158 Attraction attraction = mAttractionList.get(position); in onBindViewHolder()
38 import com.example.android.xyztouristattractions.common.Attraction;56 private Attraction mAttraction;155 private Attraction findAttraction(String attractionName) { in findAttraction()156 for (Map.Entry<String, List<Attraction>> attractionsList : ATTRACTIONS.entrySet()) { in findAttraction()157 List<Attraction> attractions = attractionsList.getValue(); in findAttraction()158 for (Attraction attraction : attractions) { in findAttraction()
38 import com.example.android.xyztouristattractions.common.Attraction;73 private ArrayList<Attraction> mAttractions = new ArrayList<Attraction>();178 AsyncTask<Uri, Void, ArrayList<Attraction>> {187 protected ArrayList<Attraction> doInBackground(Uri... params) { in doInBackground()218 Attraction attraction = new Attraction(); in doInBackground()243 protected void onPostExecute(ArrayList<Attraction> result) { in onPostExecute()
43 import com.example.android.xyztouristattractions.common.Attraction;68 private ArrayList<Attraction> mAttractions;74 Context context, ArrayList<Attraction> attractions) { in AttractionsGridPagerAdapter()81 public void setData(ArrayList<Attraction> attractions) { in setData()102 final Attraction attraction = mAttractions.get(row); in instantiateItem()224 private void startAction(Attraction attraction, String pathName, int confirmAnimationType) { in startAction()240 private View.OnClickListener getStartActionClickListener(final Attraction attraction, in getStartActionClickListener()
28 public class Attraction { class41 public Attraction() {} in Attraction() method in Attraction43 public Attraction(String name, String description, String longDescription, Uri imageUrl, in Attraction() method in Attraction
35 import com.example.android.xyztouristattractions.common.Attraction;318 List<Attraction> attractions = ATTRACTIONS.get(cityId); in showNotification()326 Attraction attraction = attractions.get(0); in showNotification()407 private void sendDataToWearable(List<Attraction> attractions) { in sendDataToWearable()424 Attraction attraction = attractions.get(i); in sendDataToWearable()