diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2014-07-05 21:12:50 +0200 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2014-07-05 21:12:50 +0200 |
commit | 16caf87e2b01a288420d655e2cd151f7cf576749 (patch) | |
tree | 5d74111ac58f6890c5657128af78f718e084fc34 /src/de/danoeh/antennapod/adapter/ChapterListAdapter.java | |
parent | 4f8c934595f5d2aa01b642d7d4489de3ad25df39 (diff) | |
download | AntennaPod-16caf87e2b01a288420d655e2cd151f7cf576749.zip |
Reduced number of lint warnings
Diffstat (limited to 'src/de/danoeh/antennapod/adapter/ChapterListAdapter.java')
-rw-r--r-- | src/de/danoeh/antennapod/adapter/ChapterListAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/de/danoeh/antennapod/adapter/ChapterListAdapter.java b/src/de/danoeh/antennapod/adapter/ChapterListAdapter.java index 72ad6774f..c12de6ebd 100644 --- a/src/de/danoeh/antennapod/adapter/ChapterListAdapter.java +++ b/src/de/danoeh/antennapod/adapter/ChapterListAdapter.java @@ -51,7 +51,7 @@ public class ChapterListAdapter extends ArrayAdapter<Chapter> { LayoutInflater inflater = (LayoutInflater) getContext() .getSystemService(Context.LAYOUT_INFLATER_SERVICE); - convertView = inflater.inflate(R.layout.simplechapter_item, null); + convertView = inflater.inflate(R.layout.simplechapter_item, parent, false); holder.title = (TextView) convertView.findViewById(R.id.txtvTitle); defaultTextColor = holder.title.getTextColors().getDefaultColor(); holder.start = (TextView) convertView.findViewById(R.id.txtvStart); |