summaryrefslogtreecommitdiff
path: root/src/de/danoeh/antennapod/adapter/ChapterListAdapter.java
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2014-07-05 21:12:50 +0200
committerdaniel oeh <daniel.oeh@gmail.com>2014-07-05 21:12:50 +0200
commit16caf87e2b01a288420d655e2cd151f7cf576749 (patch)
tree5d74111ac58f6890c5657128af78f718e084fc34 /src/de/danoeh/antennapod/adapter/ChapterListAdapter.java
parent4f8c934595f5d2aa01b642d7d4489de3ad25df39 (diff)
downloadAntennaPod-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.java2
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);