Skip to content
Snippets Groups Projects
Verified Commit 001f5fae authored by Torsten Grote's avatar Torsten Grote
Browse files

Two small review details: comment and initializing boolean

parent 98dd8ec7
No related branches found
No related tags found
Loading
......@@ -13,7 +13,7 @@ public class ContactItem {
private boolean connected;
public ContactItem(Contact contact) {
this.contact = contact;
this(contact, false);
}
public ContactItem(Contact contact, boolean connected) {
......
......@@ -32,6 +32,7 @@ public class ContactItemViewHolder<I extends ContactItem>
layout = (ViewGroup) v;
avatar = (ImageView) v.findViewById(R.id.avatarView);
name = (TextView) v.findViewById(R.id.nameView);
// this can be null as not all layouts that use this ViewHolder have it
bulb = (ImageView) v.findViewById(R.id.bulbView);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment