diff options
author | Michael <betheg@bitcloner.org> | 2014-09-27 16:45:37 +0200 |
---|---|---|
committer | Michael <betheg@bitcloner.org> | 2014-09-27 16:45:37 +0200 |
commit | 1d3a6125d2c2ee06ed1229be13dd1cfa4e178e51 (patch) | |
tree | 220dda3521cfe09ddfa59ea1b167ca0c24cf21a6 /src/eu/siacs/conversations/ui | |
parent | cf66e091b5bbc79b4021d5424ff59f106b3e8634 (diff) |
add false argument to inflate.
Diffstat (limited to 'src/eu/siacs/conversations/ui')
-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 789e4c34..df67e566 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 +} |