Sino.Droid.AppMsg.MsgManager.ClearAllMsg C# (CSharp) 메소드

ClearAllMsg() 공개 메소드

public ClearAllMsg ( ) : void
리턴 void
        public void ClearAllMsg()
        {
            RemoveMessages(MESSAGE_DISPLAY);
            RemoveMessages(MESSAGE_ADD_VIEW);
            RemoveMessages(MESSAGE_REMOVE);
            msgQueue.Clear();
            stickyQueue.Clear();
        }

Usage Example

예제 #1
0
 public static void Release(Activity activity)
 {
     if (sManagers != null)
     {
         MsgManager manager = sManagers[activity];
         sManagers.Remove(activity);
         if (manager != null)
         {
             manager.ClearAllMsg();
         }
     }
 }