MAONGITHUB

Results 1 comments of MAONGITHUB

我也同样出现这个问题,不知道是不是我写的有问题 ``` ``` ``` val notification_popwin = NotificationMsgPopwin(requireContext(), "错误错误点击试试") notification_popwin.setAction(NotificationMsgPopwin.Companion.NOTIFICATION_ACTION_TYPE.DISMISS) XPopup.Builder(requireContext()) .isDestroyOnDismiss(true) .popupAnimation(PopupAnimation.TranslateFromTop) .isClickThrough(true) .dismissOnBackPressed(false) .dismissOnTouchOutside(false) .hasShadowBg(false) .hasBlurBg(false) .atView(view) .asCustom(notification_popwin) .show() ```