ThreadHelper

interface ThreadHelper

Abstraction of our interactions with handlers/threads for isolation purposes

Functions

Link copied to clipboard
abstract fun getHandler(looper: Looper): Handler
Link copied to clipboard
abstract fun getHandlerThread(name: String?): HandlerThread
Link copied to clipboard
abstract fun runOnUiThread(job: () -> Unit)