v0.8.2: Finished news implementation, including a full news scene

This commit is contained in:
Evan Debenham
2020-07-18 18:26:24 -04:00
parent 0d9715b732
commit 81bdd42e7e
10 changed files with 450 additions and 19 deletions
@@ -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;
}
@@ -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);
}