equal
deleted
inserted
replaced
51 /** |
51 /** |
52 * Construct a contact from a parcel. |
52 * Construct a contact from a parcel. |
53 * @param in parcel to use for construction |
53 * @param in parcel to use for construction |
54 */ |
54 */ |
55 private Contact(final Parcel in) { |
55 private Contact(final Parcel in) { |
56 |
56 mID = in.readInt(); |
|
57 mStatus = in.readInt(); |
|
58 mJID = in.readString(); |
|
59 mMsgState = in.readString(); |
57 } |
60 } |
58 |
61 |
|
62 /** |
|
63 * {@inheritDoc} |
|
64 */ |
|
65 @Override |
|
66 public void writeToParcel(Parcel dest, int flags) { |
|
67 // TODO Auto-generated method stub |
|
68 dest.writeInt(mID); |
|
69 dest.writeInt(mStatus); |
|
70 dest.writeString(mJID); |
|
71 dest.writeString(mMsgState); |
|
72 } |
|
73 |
|
74 |
59 /** |
75 /** |
60 * Get the Jabber ID of the contact. |
76 * Get the Jabber ID of the contact. |
61 * @return the Jabber ID |
77 * @return the Jabber ID |
62 */ |
78 */ |
63 public String getJID() { |
79 public String getJID() { |
79 public int describeContents() { |
95 public int describeContents() { |
80 // TODO Auto-generated method stub |
96 // TODO Auto-generated method stub |
81 return 0; |
97 return 0; |
82 } |
98 } |
83 |
99 |
84 /** |
|
85 * {@inheritDoc} |
|
86 */ |
|
87 @Override |
|
88 public void writeToParcel(Parcel dest, int flags) { |
|
89 // TODO Auto-generated method stub |
|
90 } |
|
91 |
|
92 |
100 |
93 } |
101 } |