Code example for Parcel

Methods: readDoublereadLongreadString

0
    public TagInfo() { 
        this(-1); 
    } 
 
    public TagInfo(Parcel data) {
        setId(data.readLong());
        setDescription(data.readString());
        setCategory(data.readString());
        setPictureUri(data.readString());
        setAddress1(data.readString());
        setAddress2(data.readString());
        setLatitude(data.readDouble());
        setLongitude(data.readDouble());
    } 
 
    public long getId() { 
        return mId;
    } 
 
    public void setId(long id) {
Stop searching for code, let great code find you!  Add Codota to your java IDE