📜  android 中的线程示例 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:32.141000             🧑  作者: Mango

代码示例1
//if your project supports java8, you can implement with lambda function
new Thread(() -> {
        // do background stuff here
        runOnUiThread(()->{
            // OnPostExecute stuff here
        });
    }).start();