24 lines
503 B
Java
24 lines
503 B
Java
package org.fox.ttrss;
|
|
|
|
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;
|
|
}
|
|
}
|