Remove 'city' from place

This commit is contained in:
misaochan 2016-08-22 18:58:02 +12:00
parent b13b5c690a
commit b89ca7628e
3 changed files with 4 additions and 6 deletions

View file

@ -41,6 +41,8 @@ public class NearbyActivity extends AppCompatActivity {
registerLocationManager();
//TODO: Check if we need String or double coords, and in what format
//gpsCoords = String.valueOf(currentLatitude) + "|" + String.valueOf(currentLongitude);
//TODO: Use fragment for list like in AttractionListFragment?
}

View file

@ -27,8 +27,7 @@ public class NearbyPlaces {
URL file = new URL("https://tools.wmflabs.org/wiki-needs-pictures/data/data.csv");
BufferedReader in = new BufferedReader(
new InputStreamReader(file.openStream()));
BufferedReader in = new BufferedReader(new InputStreamReader(file.openStream()));
boolean firstLine = true;
String line;

View file

@ -14,7 +14,6 @@ public class Place {
public Uri imageUrl;
public Uri secondaryImageUrl;
public LatLng location;
public String city;
public Bitmap image;
public Bitmap secondaryImage;
@ -23,14 +22,12 @@ public class Place {
public Place() {}
public Place(String name, String description, String longDescription, Uri imageUrl,
Uri secondaryImageUrl, LatLng location, String city) {
Uri secondaryImageUrl, LatLng location) {
this.name = name;
this.description = description;
this.longDescription = longDescription;
this.imageUrl = imageUrl;
this.secondaryImageUrl = secondaryImageUrl;
this.location = location;
this.city = city;
}
}