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
In androidX UserVisibleHint is deprecated. I guess it would be good to move away from using it.
MvvmCross/MvvmCross/Platforms/Android/Views/ViewPager/MvxCachingFragmentPagerAdapter.cs
Line 130 in 0158a21
According to this stack overflow answer the equivalent would be:
For UserVisibleHint = false
.getSupportFragmentManager() .beginTransaction() .setMaxLifecycle(fragment, Lifecycle.State.STARTED);
For UserVisibleHint = true
.getSupportFragmentManager() .beginTransaction() .setMaxLifecycle(fragment, Lifecycle.State.RESUMED);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In androidX UserVisibleHint is deprecated. I guess it would be good to move away from using it.
MvvmCross/MvvmCross/Platforms/Android/Views/ViewPager/MvxCachingFragmentPagerAdapter.cs
Line 130 in 0158a21
According to this stack overflow answer the equivalent would be:
For UserVisibleHint = false
For UserVisibleHint = true
The text was updated successfully, but these errors were encountered: