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

能否支持Compose? #283

Open
wkbin opened this issue Jul 29, 2024 · 2 comments
Open

能否支持Compose? #283

wkbin opened this issue Jul 29, 2024 · 2 comments

Comments

@wkbin
Copy link

wkbin commented Jul 29, 2024

Compose 中 Activity 是 ComponentActivity 并没有继承 FragmentActivity ,所以没有匹配的上下文可用

@itssunyujia
Copy link

可以继承AppCompatActivity一样能使用 Compose

@wkbin
Copy link
Author

wkbin commented Aug 2, 2024

可以继承AppCompatActivity一样能使用 Compose

AppCompatActivity 有历史包袱,比 ComponentActivity 大,并不是一个好的解决方法

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

2 participants