Home
last modified time | relevance | path

Searched refs:attractionName (Results 1 – 2 of 2) sorted by relevance

/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/
DDetailFragment.java58 public static DetailFragment createInstance(String attractionName) { in createInstance() argument
61 bundle.putString(EXTRA_ATTRACTION, attractionName); in createInstance()
73 String attractionName = getArguments().getString(EXTRA_ATTRACTION); in onCreateView() local
74 mAttraction = findAttraction(attractionName); in onCreateView()
93 nameTextView.setText(attractionName); in onCreateView()
155 private Attraction findAttraction(String attractionName) { in findAttraction() argument
159 if (attractionName.equals(attraction.name)) { in findAttraction()
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/service/
DListenerService.java45 String attractionName = new String(messageEvent.getData()); in onMessageReceived() local
46 Intent intent = DetailActivity.getLaunchIntent(this, attractionName); in onMessageReceived()