Add Attraction as Place

This commit is contained in:
misaochan 2016-08-22 18:44:08 +12:00
parent 715aec0af0
commit 8c11c1b311

View file

@ -0,0 +1,36 @@
package fr.free.nrw.commons.nearby;
import android.graphics.Bitmap;
import android.net.Uri;
/**
* Created by misao on 22-Aug-16.
*/
public class Place {
public String name;
public String description;
public String longDescription;
public Uri imageUrl;
public Uri secondaryImageUrl;
public LatLng location;
public String city;
public Bitmap image;
public Bitmap secondaryImage;
public String distance;
public Place() {}
public Place(String name, String description, String longDescription, Uri imageUrl,
Uri secondaryImageUrl, LatLng location, String city) {
this.name = name;
this.description = description;
this.longDescription = longDescription;
this.imageUrl = imageUrl;
this.secondaryImageUrl = secondaryImageUrl;
this.location = location;
this.city = city;
}
}