Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]:Text provided for custom toast, remove previous setView() calls if you want a text toast instead. #146

Open
android-1995 opened this issue Jan 21, 2025 · 6 comments
Labels
bug Something isn't working

Comments

@android-1995
Copy link

框架版本【必填】

12.6

问题描述【必填】

Image

复现步骤【必填】

设置了自定义样式

 Toaster.init(
            application, CustomToastStyle(
                R.layout.abc_toast, Gravity.BOTTOM or Gravity.CENTER_HORIZONTAL,
                0, application.getDimensionPixelSize(R.dimen.dp_100),
                0f, 0f
            )
        )

是否必现【必填】

项目 targetSdkVersion【必填】

28

出现问题的手机信息【必填】

HONOR/JDY-AN00

出现问题的安卓版本【必填】

Android 14

问题信息的来源渠道【必填】

Bugly 看到的

是部分机型还是所有机型都会出现【必答】

全部(vivo/V2230A OPPO/PFTM20 HONOR/JDY-AN00 HUAWEI/BTK-W00)

框架最新的版本是否存在这个问题【必答】

框架文档是否提及了该问题【必答】

是否已经查阅框架文档但还未能解决的【必答】

issue 列表中是否有人曾提过类似的问题【必答】

是否已经搜索过了 issue 列表但还未能解决的【必答】

是否可以通过 Demo 来复现该问题【必答】

提供报错堆栈


提供截图或视频

No response

提供解决方案

No response

@android-1995 android-1995 added the bug Something isn't working label Jan 21, 2025
@getActivity
Copy link
Owner

Toaster-12.8.aar.zip

@getActivity
Copy link
Owner

这个问题我这边尝试修复了,你下载上面的 aar 包再试一下

@android-1995
Copy link
Author

不好复现。不知道怎么测试

@getActivity
Copy link
Owner

自己本地做测试,建议每个 Android 版本都过一遍,然后灰度,最后上线再看一下崩溃情况。

@sunlunchang1994
Copy link

您好 请问上面的12.8版本会发布到线上依赖吗

@getActivity
Copy link
Owner

getActivity commented Feb 8, 2025

@sunlunchang1994 远程依赖已更新

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants