AntennaPod/src/de/podfetcher/PodcastApp.java

31 lines
612 B
Java
Raw Normal View History

2011-12-23 19:22:06 +01:00
package de.podfetcher;
import de.podfetcher.activity.PodfetcherActivity;
2012-04-11 18:14:43 +02:00
import de.podfetcher.feed.FeedManager;
2011-12-23 19:22:06 +01:00
import android.app.Application;
public class PodcastApp extends Application {
2012-04-11 16:53:29 +02:00
private static final String TAG = "PodcastApp";
public static final String PREF_NAME = "PodfetcherPrefs";
2012-04-11 16:53:29 +02:00
2011-12-23 19:22:06 +01:00
private static PodcastApp singleton;
public static PodcastApp getInstance() {
return singleton;
}
@Override
public void onCreate() {
super.onCreate();
singleton = this;
2012-04-11 18:14:43 +02:00
FeedManager manager = FeedManager.getInstance();
manager.loadDBData(getApplicationContext());
2011-12-23 19:22:06 +01:00
}
2012-06-28 17:07:33 +02:00
2011-12-23 19:22:06 +01:00
}