2012-09-16 17:59:03 +00:00
|
|
|
package org.fox.ttrss;
|
|
|
|
|
2012-09-17 08:45:52 +00:00
|
|
|
import org.fox.ttrss.types.Article;
|
2012-09-16 17:59:03 +00:00
|
|
|
import org.fox.ttrss.types.ArticleList;
|
|
|
|
import org.fox.ttrss.types.Feed;
|
|
|
|
|
|
|
|
import android.app.Application;
|
|
|
|
|
|
|
|
public class TinyApplication extends Application {
|
|
|
|
private static TinyApplication m_singleton;
|
|
|
|
|
2012-09-16 18:13:32 +00:00
|
|
|
public ArticleList m_loadedArticles = new ArticleList();
|
|
|
|
public Feed m_activeFeed;
|
2012-09-16 17:59:03 +00:00
|
|
|
|
|
|
|
public static TinyApplication getInstance(){
|
|
|
|
return m_singleton;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public final void onCreate() {
|
|
|
|
super.onCreate();
|
|
|
|
m_singleton = this;
|
|
|
|
}
|
|
|
|
}
|