|
|
|
@ -72,6 +72,13 @@ public class MyApplication extends Application { |
|
|
|
public SimpleDateFormat secondFormat = new SimpleDateFormat("ss"); |
|
|
|
|
|
|
|
public static MyApplication getInstance() { |
|
|
|
if(null == myApplication){ |
|
|
|
synchronized(MyApplication.class){ |
|
|
|
if(null == myApplication){ |
|
|
|
myApplication = new MyApplication(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
return myApplication; |
|
|
|
} |
|
|
|
|
|
|
|
|