Code example for Parcel

Methods: readInt

0
        out.writeInt(right);
        out.writeInt(bottom);
    } 
 
    public void readFromParcel(Parcel in) {
        left = in.readInt();
        top = in.readInt();
        right = in.readInt();
        bottom = in.readInt();
    } 
 
    public int describeContents() { 
        // TODO Auto-generated method stub 
        return 0; 
    } 
 
    public void writeToParcel(Parcel arg0, int arg1) {
        // TODO Auto-generated method stub 
 
    } 
}