v0.8.2: Finished news implementation, including a full news scene
This commit is contained in:
+6
-2
@@ -26,8 +26,12 @@ import java.util.Date;
|
||||
public class NewsArticle {
|
||||
|
||||
public String title;
|
||||
public String summary;
|
||||
public String URL;
|
||||
public Date date;
|
||||
public String summary;
|
||||
|
||||
public String URL;
|
||||
|
||||
//the icon is stored as a string here so it can be decoded to an image later
|
||||
//See News.java for supported formats
|
||||
public String icon;
|
||||
}
|
||||
|
||||
+1
-1
@@ -30,6 +30,6 @@ public abstract class NewsService {
|
||||
public abstract void onConnectionFailed();
|
||||
}
|
||||
|
||||
public abstract void checkForArticles(boolean useMetered, NewsResultCallback callback);
|
||||
public abstract void checkForArticles(boolean useMetered, boolean forceHTTPS, NewsResultCallback callback);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user