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