开发者

Deactivate toast for an android application

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜