public class Photo
extends java.lang.Object
implements android.os.Parcelable
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<Photo> |
CREATOR |
Constructor and Description |
---|
Photo(android.os.Parcel source) |
Photo(java.lang.String path) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
java.lang.String |
getUrl() |
boolean |
isSelected() |
void |
setSelected(boolean selected) |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<Photo> CREATOR
public Photo(java.lang.String path)
public Photo(android.os.Parcel source)
public java.lang.String getUrl()
public boolean isSelected()
public void setSelected(boolean selected)
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable