-
Notifications
You must be signed in to change notification settings - Fork 6k
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
dev: adding sorting for TrackSelectionDialog and TrackSelectionDialog… #7798
Conversation
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.
I put some comments inline. For the demo app changes, I think we probably don't want to take those, since it makes the demo app quite a bit more complicated. Feel free to leave them in for now if they're useful for your own testing, but let's remove them when we merge.
library/ui/src/main/java/com/google/android/exoplayer2/ui/TrackSelectionDialogBuilder.java
Outdated
Show resolved
Hide resolved
library/ui/src/main/java/com/google/android/exoplayer2/ui/TrackSelectionDialogBuilder.java
Outdated
Show resolved
Hide resolved
library/ui/src/main/java/com/google/android/exoplayer2/ui/TrackSelectionView.java
Show resolved
Hide resolved
library/ui/src/main/java/com/google/android/exoplayer2/ui/TrackSelectionView.java
Outdated
Show resolved
Hide resolved
library/ui/src/main/java/com/google/android/exoplayer2/ui/TrackSelectionView.java
Show resolved
Hide resolved
library/ui/src/main/java/com/google/android/exoplayer2/ui/TrackSelectionView.java
Outdated
Show resolved
Hide resolved
library/ui/src/main/java/com/google/android/exoplayer2/ui/TrackSelectionView.java
Outdated
Show resolved
Hide resolved
Everything should be okay now, I'm only concern if for some reason a |
This enhancement match with this issue #7709
This is my first time contributing to a project, feel free to tell me if I did something wrong.
Developers need to add their
comparator
which is type ofComparator<Format>
and it'll sort it the way they implement itPS: I got an issue with my repo and had to delete it, that's why there is 2 merge request, feel free to close/delete this one: #7715