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

Deprecate .theme() #4995

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Deprecate .theme() #4995

wants to merge 1 commit into from

Conversation

sjudd
Copy link
Collaborator

@sjudd sjudd commented Jan 5, 2023

We should now be able to pull the correct theme from the Context from the associated RequestManager, which makes this method largely not useful.

The only exception would be an attempt to do a themed loading using the Application Context where a theme of some Fragment or Activity is available. I assume that case is relatively rare and it's probably better to just do the load with the Fragment or Activity Context anyway.

We should now be able to pull the correct theme from the Context from
the associated RequestManager, which makes this method largely not
useful.

The only exception would be an attempt to do a themed loading using the
Application Context where a theme of some Fragment or Activity is
available. I assume that case is relatively rare and it's probably
better to just do the load with the Fragment or Activity Context anyway.
@sjudd sjudd added the import-ready Indicates the PR is ready to be imported to Google. label Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
import-ready Indicates the PR is ready to be imported to Google.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant