开发者

Deactivate toast for an android application

开发者 https://www.devze.com 2022-12-22 14:22 出处:网络
My question is quite simple. Is it possible to inactivate all toasts of an application by s开发者_如何转开发etting a preference of something like that. Is there for example a method which does that in

My question is quite simple. Is it possible to inactivate all toasts of an application by s开发者_如何转开发etting a preference of something like that. Is there for example a method which does that in the SDK?


No, sorry! You could implement this yourself, by tracking a preference and wrapping all your Toast references in a test to see if that preference is checked.

0

精彩评论

暂无评论...
验证码 换一张
取 消