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
Refactor ConnectionManager intialization #468
Refactor ConnectionManager intialization #468
Conversation
app/src/main/java/org/jellyfin/androidtv/model/repository/ConnectionManagerRepository.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/jellyfin/androidtv/itemhandling/ItemLauncher.java
Outdated
Show resolved
Hide resolved
app/src/main/java/org/jellyfin/androidtv/browsing/BrowseFolderFragment.java
Outdated
Show resolved
Hide resolved
app/src/main/java/org/jellyfin/androidtv/browsing/EnhancedBrowseFragment.java
Outdated
Show resolved
Hide resolved
app/src/main/java/org/jellyfin/androidtv/model/repository/ConnectionManagerRepository.kt
Outdated
Show resolved
Hide resolved
deaf131
to
67dc6fa
Compare
67dc6fa
to
df3c57f
Compare
Code Climate has analyzed commit 4bad5ed and detected 18 issues on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
I think this is ready for review now. I will address the logging changes in a separate PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall, one comment about the extra's changes.
I don't really like the singletons but those can (and will) be solved when we implement dependency injection.
Changes
ConnectionManagerRepository
singleton to handle initialization of theConnectionManager
SerializerRepository
singleton to handle theGsonJsonSerializer
PlaybackManager
toTvApp
Issues
N/A