SdkExecutors

SdkExecutors provides an ExecutorService and a NamedRunnable extension function to easily execute long-running tasks off the main thread.

Properties

Link copied to clipboard

An Executors.newSingleThreadExecutor for disk, or similar operations.

Link copied to clipboard

An Executors.newFixedThreadPool for network, or similar operations, with 2 Threads.