Skip to content

Fix recycler view adapter for browsing catalogue #50

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

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

marcbaechinger
Copy link
Contributor

This fixes a bug in the UI that prevents the catalogue browsing.

There are three adapters created that all use the same top level mBrowser field
to setup two recycler views. It looks like the intention was that
mBrowseMediaItemsAdapter and mBrowseMediaItemsExtraSuggestedAdapter use
their own browser instances in subscribe/unsubscribe, but they don't
as they both use the same mBrowser field of the activity.

When injecting a supplier that supplies the browser instances
the adapters are supposed to use, catalogue browsing works.

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