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

新手问题,kotlin如何拿到回调? #72

Open
carl0804 opened this issue Oct 8, 2021 · 0 comments
Open

新手问题,kotlin如何拿到回调? #72

carl0804 opened this issue Oct 8, 2021 · 0 comments

Comments

@carl0804
Copy link

carl0804 commented Oct 8, 2021

不想自定义样式,直接使用内置样式NormalDialog。
只有onDismiss能拿到数据

 dialog.setOnDismissListener {
                Log.d("dialog", "dismiss dialog")
            }

其他的Listener都没回调数据,比如:

 dialog.setOnBtnClickL(OnBtnClickL {
                Log.d("dialog", "button is pressed")
            })

dialog.setOnCancelListener{
                Log.d("dialog", "on cancel")
            }
 dialog.setOnShowListener {
                Log.d("dialog", "on show")
            }    
          

这三个都没有显示

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