Add support for proxies - 2/3

This commit is contained in:
Rahul Patel
2023-10-22 14:27:13 +05:30
parent 687c14c394
commit f19631ad6a
36 changed files with 226 additions and 44 deletions

View File

@@ -23,6 +23,7 @@ import android.os.Handler
import android.os.Looper
fun runAsync(action: () -> Unit) = Thread(Runnable(action)).start()
fun runAsyncResult(action: () -> Boolean) = Thread { action() }.apply { start() }
fun runOnUiThread(action: () -> Unit) {
when {