remove unnecessary field from globalstate
This commit is contained in:
parent
7abd056146
commit
55786d8cb0
@ -4,15 +4,16 @@ import org.fox.ttrss.types.Article;
|
|||||||
import org.fox.ttrss.types.ArticleList;
|
import org.fox.ttrss.types.ArticleList;
|
||||||
import org.fox.ttrss.types.Feed;
|
import org.fox.ttrss.types.Feed;
|
||||||
|
|
||||||
|
import android.app.Activity;
|
||||||
import android.app.Application;
|
import android.app.Application;
|
||||||
|
import android.os.Bundle;
|
||||||
|
|
||||||
public class GlobalState extends Application {
|
public class GlobalState extends Application {
|
||||||
private static GlobalState m_singleton;
|
private static GlobalState m_singleton;
|
||||||
|
|
||||||
public Article m_activeArticle;
|
|
||||||
public ArticleList m_loadedArticles = new ArticleList();
|
public ArticleList m_loadedArticles = new ArticleList();
|
||||||
public Feed m_activeFeed;
|
public Feed m_activeFeed;
|
||||||
public Article m_selectedArticle;
|
public Article m_activeArticle;
|
||||||
public int m_selectedArticleId;
|
public int m_selectedArticleId;
|
||||||
|
|
||||||
public static GlobalState getInstance(){
|
public static GlobalState getInstance(){
|
||||||
@ -23,5 +24,5 @@ public class GlobalState extends Application {
|
|||||||
public final void onCreate() {
|
public final void onCreate() {
|
||||||
super.onCreate();
|
super.onCreate();
|
||||||
m_singleton = this;
|
m_singleton = this;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user