diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2014-09-27 16:52:36 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2014-09-27 16:52:36 +0200 |
commit | 4a9ed0e208f716d41e5bd4fb525a64661c0de8f8 (patch) | |
tree | c4fa578506c6cd8f4201ab5e5c5d6d82a59b2140 | |
parent | 0746d8750602a038f5899848a8ba6fd12024a7cc (diff) | |
parent | 1d3a6125d2c2ee06ed1229be13dd1cfa4e178e51 (diff) |
Merge pull request #504 from betheg/inflate
add false argument to inflate.
-rw-r--r-- | src/eu/siacs/conversations/ui/adapter/ListItemAdapter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eu/siacs/conversations/ui/adapter/ListItemAdapter.java b/src/eu/siacs/conversations/ui/adapter/ListItemAdapter.java index 789e4c340..df67e5663 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, parent); + view = (View) inflater.inflate(R.layout.contact, parent, false); } TextView name = (TextView) view.findViewById(R.id.contact_display_name); TextView jid = (TextView) view.findViewById(R.id.contact_jid); @@ -36,4 +36,4 @@ public class ListItemAdapter extends ArrayAdapter<ListItem> { return view; } -}
\ No newline at end of file +} |