📜  未找到 runonuithread - 无论代码示例

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

代码示例1
((Activity)context).runOnUiThread(new Runnable()
    {
        public void run()
        { 
             Toast.makeText(context, toast, Toast.LENGTH_SHORT).show();
        }
    });