You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
And if function will inherits Fragment IDE says "Type mismatch" under my custom fragments:
Maybe I could use other class (not FragmentStateAdapter) which compatible with Moxy.
I dont know how to fix it, pls help!
The text was updated successfully, but these errors were encountered:
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](https://user-images.githubusercontent.com/43350388/106385445-6d735b00-63e1-11eb-851b-579210db0b89.png)
![image](https://user-images.githubusercontent.com/43350388/106385539-d9ee5a00-63e1-11eb-9e9b-9e2290aee4ca.png)
And if function will inherits Fragment IDE says "Type mismatch" under my custom fragments:
Maybe I could use other class (not FragmentStateAdapter) which compatible with Moxy.
I dont know how to fix it, pls help!
The text was updated successfully, but these errors were encountered: