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