aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/ui/adapter/ListItemAdapter.java
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-09-27 11:46:56 +0200
committeriNPUTmice <daniel@gultsch.de>2014-09-27 11:46:56 +0200
commit2415781ebf6fdf8846baf8294c4b0c49310b5c79 (patch)
tree4f8565b4c40d7c34397496b585dff7436dbfceb2 /src/eu/siacs/conversations/ui/adapter/ListItemAdapter.java
parent8fb0fb0c0d7a760d1bea33701a794f3ab2ba6664 (diff)
fixed some lint warnings. thanks @betheg
Diffstat (limited to 'src/eu/siacs/conversations/ui/adapter/ListItemAdapter.java')
-rw-r--r--src/eu/siacs/conversations/ui/adapter/ListItemAdapter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/ui/adapter/ListItemAdapter.java b/src/eu/siacs/conversations/ui/adapter/ListItemAdapter.java
index 9ef427fc..789e4c34 100644
--- a/src/eu/siacs/conversations/ui/adapter/ListItemAdapter.java
+++ b/src/eu/siacs/conversations/ui/adapter/ListItemAdapter.java
@@ -24,7 +24,7 @@ public class ListItemAdapter extends ArrayAdapter<ListItem> {
.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
ListItem item = getItem(position);
if (view == null) {
- view = (View) inflater.inflate(R.layout.contact, null);
+ view = (View) inflater.inflate(R.layout.contact, parent);
}
TextView name = (TextView) view.findViewById(R.id.contact_display_name);
TextView jid = (TextView) view.findViewById(R.id.contact_jid);