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

Tab adapter : FragmentStateAdapter (ViewPager2) doesn't work with MvpFragment #270

Open
GramLun opened this issue Jan 31, 2021 · 0 comments

Comments

@GramLun
Copy link

GramLun commented Jan 31, 2021

I'm trying to create TabAdapter class that inherits FragmentStateAdapter. So in function createFragment I need to return my framents which inherits MvpFragment, but it says:
image
And if function will inherits Fragment IDE says "Type mismatch" under my custom fragments:
image
Maybe I could use other class (not FragmentStateAdapter) which compatible with Moxy.
I dont know how to fix it, pls help!

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