Removed unnecessary attribute in FeedlistAdapter

This commit is contained in:
Daniel Oeh 2012-04-12 15:28:31 +02:00
parent 789f78fe41
commit ca2eefe169
2 changed files with 3 additions and 6 deletions

View File

@ -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);
}

View File

@ -18,12 +18,9 @@ import android.widget.TextView;
public class FeedlistAdapter extends ArrayAdapter<Feed> {
int resource;
public FeedlistAdapter(Context context, int resource,
public FeedlistAdapter(Context context,
int textViewResourceId, List<Feed> objects) {
super(context, resource, textViewResourceId, objects);
this.resource = resource;
super(context, textViewResourceId, objects);
}