mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Add Attraction as Place
This commit is contained in:
parent
715aec0af0
commit
8c11c1b311
1 changed files with 36 additions and 0 deletions
36
app/src/main/java/fr/free/nrw/commons/nearby/Place.java
Normal file
36
app/src/main/java/fr/free/nrw/commons/nearby/Place.java
Normal 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;
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue