We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2911330 commit 8726a02Copy full SHA for 8726a02
app/src/github/java/de/davis/passwordmanager/utils/BackgroundUtil.java
@@ -0,0 +1,13 @@
1
+package de.davis.passwordmanager.utils;
2
+
3
+import java.util.concurrent.Executor;
4
+import java.util.concurrent.Executors;
5
6
+public class BackgroundUtil {
7
8
+ private static final Executor executor = Executors.newSingleThreadExecutor();
9
10
+ public static void doInBackground(Runnable runnable){
11
+ executor.execute(runnable);
12
+ }
13
+}
0 commit comments