blob: 18c2fbc685ea7919f9e4aa087111a4519a036edc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
package org.fox.ttrss;
import org.fox.ttrss.types.Article;
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;
public ArticleList m_loadedArticles = new ArticleList();
public Feed m_activeFeed;
public static TinyApplication getInstance(){
return m_singleton;
}
@Override
public final void onCreate() {
super.onCreate();
m_singleton = this;
}
}
|