Sino.Droid.AppMsg.MsgManager.RemoveMsg C# (CSharp) Method

RemoveMsg() public method

public RemoveMsg ( AppMsg appMsg ) : void
appMsg AppMsg
return void
        public void RemoveMsg(AppMsg appMsg)
        {
            ClearMsg(appMsg);
            View view = appMsg.View;
            ViewGroup parent = (ViewGroup)view.Parent;
            if (parent != null)
            {
                appMsg.mOutAnimation.SetAnimationListener(new OutAnimationListener(appMsg));
                view.ClearAnimation();
                view.StartAnimation(appMsg.mOutAnimation);
            }
            Message msg = ObtainMessage(MESSAGE_DISPLAY);
            SendMessage(msg);
        }