Exemple #1
0
 public static Resources getResources() {
   return BaseApplication.getApplication().getResources();
 }
Exemple #2
0
 public static Context getContext() {
   return BaseApplication.getApplication();
 }
Exemple #3
0
 public static Thread getMainThread() {
   return BaseApplication.getMainThread();
 }
Exemple #4
0
 public static long getMainThreadId() {
   return BaseApplication.getMainThreadId();
 }
Exemple #5
0
 /** 获取主线程的handler */
 public static Handler getHandler() {
   return BaseApplication.getMainThreadHandler();
 }