首页 > 解决方案 > How to get Executor for main thread on API level < 28

问题描述

On API level 28(Pie) a new method is introduced in the Context class to get Executor for the main thread getMainExecutor().

How to get this executor on API level below 28?

标签: androidmultithreadingandroid-contextexecutor

解决方案



推荐阅读