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

Use context in ItemRowAdapter/MediaManager, remove TvApp.java #1610

Merged

Conversation

nielsvanvelzen
Copy link
Member

Changes

  • Send context to MediaManager constructor
  • Send context to ItemRowAdapter constructors
  • Always use context in MediaManager (replaces TvApp.getApplication)
  • Always use context in ItemRowAdapter (replaces TvApp.getApplication)
  • Change some function signatures to use Context instead of Activity
  • Change ItemRowAdapter constructor places to send a context
    = Remove TvApp.java - finally after like two years my "delete tvapp.java" project is finished!

Issues

@nielsvanvelzen nielsvanvelzen marked this pull request as draft April 4, 2022 20:22
@nielsvanvelzen nielsvanvelzen marked this pull request as ready for review April 4, 2022 20:23
@nielsvanvelzen nielsvanvelzen merged commit 98aea02 into jellyfin:master Apr 5, 2022
@nielsvanvelzen nielsvanvelzen deleted the itemrowadapter-context branch April 5, 2022 11:14
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