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

Migrate to FragmentContainerView #6957

Merged

Conversation

Pittvandewitt
Copy link
Contributor

Fixes a lint warning:

FragmentContainerView replaces the tag as the preferred way of adding fragments via XML. Unlike the tag, FragmentContainerView uses a normal FragmentTransaction under the hood to add the initial fragment, allowing further FragmentTransaction operations on the FragmentContainerView and providing a consistent timing for lifecycle events.

@Bnyro
Copy link
Member

Bnyro commented Jan 15, 2025

@Pittvandewitt
Copy link
Contributor Author

Yes, and it can be done even simpler by setting the navGraph through xml. I'll make further changes.

Copy link
Member

@Bnyro Bnyro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@Bnyro Bnyro merged commit 5fd1559 into libre-tube:master Jan 16, 2025
2 of 3 checks passed
@Pittvandewitt Pittvandewitt deleted the migrate/fragment-container-view branch January 16, 2025 16:45
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

Successfully merging this pull request may close these issues.

2 participants