mirror of
https://github.com/Dark98/SliceBeam.git
synced 2026-12-06 11:57:16 +00:00
Cloud features: part 1
This commit is contained in:
1 parent
abf53f1c43
commit
a27a8c1d5d
45 files changed
+2211
-139
No files matched your search
@@ -23,6 +23,11 @@ public class ViewUtils {
|
||||
private static Handler uiHandler = new Handler(Looper.getMainLooper());
|
||||
private static Map<String, Typeface> typefaceCache = new HashMap<>();
|
||||
|
||||
|
||||
public static Handler getUiHandler() {
|
||||
return uiHandler;
|
||||
}
|
||||
|
||||
public static void postOnMainThread(Runnable runnable) {
|
||||
uiHandler.post(runnable);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user