public void ClearAllMsg()
{
RemoveMessages(MESSAGE_DISPLAY);
RemoveMessages(MESSAGE_ADD_VIEW);
RemoveMessages(MESSAGE_REMOVE);
msgQueue.Clear();
stickyQueue.Clear();
}
public static void Release(Activity activity) { if (sManagers != null) { MsgManager manager = sManagers[activity]; sManagers.Remove(activity); if (manager != null) { manager.ClearAllMsg(); } } }