mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-12-01 12:31:45 +00:00
Removed FeedCategory
This commit is contained in:
@ -30,7 +30,6 @@ public class Feed extends FeedFile {
|
|||||||
/** Name of the author */
|
/** Name of the author */
|
||||||
private String author;
|
private String author;
|
||||||
private FeedImage image;
|
private FeedImage image;
|
||||||
private FeedCategory category;
|
|
||||||
private List<FeedItem> items;
|
private List<FeedItem> items;
|
||||||
/** Date of last refresh. */
|
/** Date of last refresh. */
|
||||||
private Date lastUpdate;
|
private Date lastUpdate;
|
||||||
@ -274,14 +273,6 @@ public class Feed extends FeedFile {
|
|||||||
this.image = image;
|
this.image = image;
|
||||||
}
|
}
|
||||||
|
|
||||||
public FeedCategory getCategory() {
|
|
||||||
return category;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCategory(FeedCategory category) {
|
|
||||||
this.category = category;
|
|
||||||
}
|
|
||||||
|
|
||||||
public List<FeedItem> getItems() {
|
public List<FeedItem> getItems() {
|
||||||
return items;
|
return items;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,20 +0,0 @@
|
|||||||
package de.danoeh.antennapod.feed;
|
|
||||||
|
|
||||||
public class FeedCategory extends FeedComponent{
|
|
||||||
protected String name;
|
|
||||||
|
|
||||||
public FeedCategory(String name) {
|
|
||||||
super();
|
|
||||||
this.name = name;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getName() {
|
|
||||||
return name;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -53,7 +53,6 @@ public class FeedManager {
|
|||||||
private static FeedManager singleton;
|
private static FeedManager singleton;
|
||||||
|
|
||||||
private List<Feed> feeds;
|
private List<Feed> feeds;
|
||||||
private ArrayList<FeedCategory> categories;
|
|
||||||
|
|
||||||
/** Contains all items where 'read' is false */
|
/** Contains all items where 'read' is false */
|
||||||
private List<FeedItem> unreadItems;
|
private List<FeedItem> unreadItems;
|
||||||
@ -82,7 +81,6 @@ public class FeedManager {
|
|||||||
|
|
||||||
private FeedManager() {
|
private FeedManager() {
|
||||||
feeds = Collections.synchronizedList(new ArrayList<Feed>());
|
feeds = Collections.synchronizedList(new ArrayList<Feed>());
|
||||||
categories = new ArrayList<FeedCategory>();
|
|
||||||
unreadItems = Collections.synchronizedList(new ArrayList<FeedItem>());
|
unreadItems = Collections.synchronizedList(new ArrayList<FeedItem>());
|
||||||
requester = DownloadRequester.getInstance();
|
requester = DownloadRequester.getInstance();
|
||||||
downloadLog = new ArrayList<DownloadStatus>();
|
downloadLog = new ArrayList<DownloadStatus>();
|
||||||
@ -1094,7 +1092,6 @@ public class FeedManager {
|
|||||||
|
|
||||||
public void updateArrays(Context context) {
|
public void updateArrays(Context context) {
|
||||||
feeds.clear();
|
feeds.clear();
|
||||||
categories.clear();
|
|
||||||
PodDBAdapter adapter = new PodDBAdapter(context);
|
PodDBAdapter adapter = new PodDBAdapter(context);
|
||||||
adapter.open();
|
adapter.open();
|
||||||
extractFeedlistFromCursor(context, adapter);
|
extractFeedlistFromCursor(context, adapter);
|
||||||
|
|||||||
Reference in New Issue
Block a user