Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

recyclerview 添加元素的时候可以跟随 item 一起移动吗? #1247

Open
littlezan opened this issue Dec 25, 2024 · 0 comments
Open

Comments

@littlezan
Copy link

littlezan commented Dec 25, 2024

XPopup版本
如2.1.0

手机系统和型号
模拟器

描述你的问题
最好能上代码截图和问题截图

XPopup.Builder(context)
                .hasShadowBg(false)
                .isTouchThrough(true)
                .isDestroyOnDismiss(true) //对于只使用一次的弹窗,推荐设置这个
                .atView(atView)
                .isCenterHorizontal(true)
                .popupPosition(PopupPosition.Top)
                .hasShadowBg(false) // 去掉半透明背景
                .isViewMode(true)
                .setPopupCallback(object : SimpleCallback() {
                    override fun onDismiss(popupView: BasePopupView?) {
                        onDismiss()
                    }
                })
                .asCustom(ChatroomMemberOperateDeleteMsgPopup(context, message))
                .show()

删除的 Popup 能跟随 recyclerView item 的插入一起向上移动吗?
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant