public void writeToParcel(Parcel out, int flags) {
        out.writeString(mMessage);
        out.writeString(mActionMessage);
        out.writeInt(mActionIcon);
        out.writeParcelable(mToken, 0);
        out.writeInt((int) mDuration);
        out.writeParcelable(mBtnTextColor, 0);
        out.writeParcelable(mBackgroundColor, 0);
        out.writeInt(mHeight);
        out.writeValue(mTypeface);
    }
public void writeToParcel(Parcel out, int flags) {
        out.writeString(mMessage);
        out.writeString(mActionMessage);
        out.writeInt(mActionIcon);
        out.writeParcelable(mToken, 0);
        out.writeInt((int) mDuration);
        out.writeParcelable(mBtnTextColor, 0);
        out.writeParcelable(mBackgroundColor, 0);
        out.writeInt(mHeight);
        out.writeValue(mTypeface);
    }
public void writeToParcel ( Parcel out , int flags ) { out . writeString ( mMessage ) ; out . writeString ( mActionMessage ) ; out . writeInt ( mActionIcon ) ; out . writeParcelable ( mToken , 0 ) ; out . writeInt ( ( int ) mDuration ) ; out . writeParcelable ( mBtnTextColor , 0 ) ; out . writeParcelable ( mBackgroundColor , 0 ) ; out . writeInt ( mHeight ) ; out . writeValue ( mTypeface ) ; }
writes data to parcel
writes data to parcel