在子線程中彈土司的一段代碼

new Handler(Looper.getMainLooper()).post(new Runnable() { public void run() { Toast.makeText(mContext, "Hello, " + name + "!", Toast.LENGTH_SHORT).show(); } });
相關文章
相關標籤/搜索