diff --git a/src/de/podfetcher/activity/FeedlistActivity.java b/src/de/podfetcher/activity/FeedlistActivity.java index 8e7ce4efa..83dd358f2 100644 --- a/src/de/podfetcher/activity/FeedlistActivity.java +++ b/src/de/podfetcher/activity/FeedlistActivity.java @@ -30,7 +30,7 @@ public class FeedlistActivity extends SherlockListActivity { super.onCreate(savedInstanceState); manager = FeedManager.getInstance(); - fla = new FeedlistAdapter(this, R.layout.feedlist_item, 0, manager.getFeeds()); + fla = new FeedlistAdapter(this, 0, manager.getFeeds()); setListAdapter(fla); } diff --git a/src/de/podfetcher/adapter/FeedlistAdapter.java b/src/de/podfetcher/adapter/FeedlistAdapter.java index 78b2bb746..61e073fe6 100644 --- a/src/de/podfetcher/adapter/FeedlistAdapter.java +++ b/src/de/podfetcher/adapter/FeedlistAdapter.java @@ -18,12 +18,9 @@ import android.widget.TextView; public class FeedlistAdapter extends ArrayAdapter { - int resource; - - public FeedlistAdapter(Context context, int resource, + public FeedlistAdapter(Context context, int textViewResourceId, List objects) { - super(context, resource, textViewResourceId, objects); - this.resource = resource; + super(context, textViewResourceId, objects); }