We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
// 可以混合使用,只需要加两行代码就可以在XpopWindow中直接使用Compose代码了
class XDialog(context:Context):BasePopupView{ //关注这一行就行了 init { id=android.R.id.content setViewTreeLifecyceOwner(context as AppCompatActivity) // 如果在Compose中使用这里要传Compose的上下文XXX.current setViewTreeSavedStateRegisterOwner(context as AppCompatActivity) } }
Originally posted by @yongjie520 in #1158 (comment)
The text was updated successfully, but these errors were encountered:
没看懂,这是需要新建类 继承BasePopupView吗?有没有代码样例
Sorry, something went wrong.
No branches or pull requests
Originally posted by @yongjie520 in #1158 (comment)
The text was updated successfully, but these errors were encountered: