当运行与子线程时会发生不显示
修改方法
String mToastInformation;
private final Handler mHandler = new Handler(Looper.getMainLooper());
private void showToastInfomation(String msg) {
mToastInformation = msg;
Runnable toastAlert = new Runnable("Toast.info",null) {
@Override
public void loggedRun() {
Toast.makeText(mContext, mToastInformation, Toast.LENGTH_SHORT).show();
}
};
mHandler.post(toastAlert.prepare());
}
//