Files
android-calculatorpp/src/main/java/org/solovyev/android/calculator/ApplicationContext.java
2011-12-01 17:57:42 +04:00

24 lines
412 B
Java

package org.solovyev.android.calculator;
import org.jetbrains.annotations.NotNull;
/**
* User: serso
* Date: 12/1/11
* Time: 1:21 PM
*/
public class ApplicationContext extends android.app.Application {
@NotNull
private static ApplicationContext instance;
public ApplicationContext() {
instance = this;
}
@NotNull
public static ApplicationContext getInstance() {
return instance;
}
}