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.
精彩评论