-
Notifications
You must be signed in to change notification settings - Fork 34
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
KMM Compose Android Error: "ClassCastException: com.example.app.MainActivity cannot be cast to androidx.fragment.app.FragmentActivity" #106
Comments
I have the same problem |
Apparently it's about the MainActivity being |
Thank's, it works for me |
For now developer must use |
Hi, got issue in kmm compose, on android, BindEffect() call this exception:
ClassCastException: com.example.app.MainActivity cannot be cast to androidx.fragment.app.FragmentActivity
iOS works great, without errors. My compose code:
Using moko mvvm. ViewModel permission calling:
The text was updated successfully, but these errors were encountered: