Code example for Parcel

Methods: readInt, readList, readString

0
            } 
        }; 
 
        private ParametersHolder(Parcel in) {
            this(); 
            page = in.readInt();
            pageSize = in.readInt();
            position = in.readInt();
            tagFilter = in.readString();
            albumFilter = in.readString();
            sortBy = in.readString();
            items = new ArrayList<Photo>();
            in.readList(items, getClass().getClassLoader());
        } 
    } 
    /** 
     * Should be called when processing photo removal event 
     * @param photo 
     */ 
    public void photoDeleted(Photo photo)
    {