Android Can‘t toast on a thread that has not called Looper.prepare()错误
已经编写好的专门用于toast显示的函数//提示信息显示 public void showToast(String msg){ Toast.makeText(mContext, msg, Toast.LENGTH_SHORT).show(); }通过在另外一个activity调用该方法showToast() public void onResponse(Call call, Response response) throws IOException {