吐司框架分离初始化步骤

This commit is contained in:
ZhanGSKen
2025-01-23 01:53:06 +08:00
parent 8b0e8b00ae
commit 16e3d10b63
4 changed files with 10 additions and 11 deletions

View File

@@ -72,12 +72,6 @@ public class WinBollUtils {
//
// 初始化日志模块
LogUtils.init(mContext);
// 初始化 Toast 框架
ToastUtils.init(application);
// 设置 Toast 布局样式
//ToastUtils.setView(R.layout.view_toast);
ToastUtils.setStyle(new WhiteToastStyle());
ToastUtils.setGravity(Gravity.BOTTOM, 0, 200);
// 设置应用调试标志
DebugBean debugBean = DebugBean.loadBean(mContext, DebugBean.class);
if (debugBean == null) {