-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Perform action on episodes #974
Perform action on episodes #974
Conversation
Will this wind up taking the place of #945?
|
Order should now be correct. Also several optimizations. I guess this looks complicated because it is new and there is no UI like it yet. Shouldn't take long for people to figure out how this thing works. |
Collections.sort(episodes, new Comparator<FeedItem>() { | ||
@Override | ||
public int compare(FeedItem lhs, FeedItem rhs) { | ||
int code = lhs.getMedia().getDuration() - rhs.getMedia().getDuration(); |
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.
This will break for feeds that have items without media.
Otherwise, looks good. |
Everything fixed, except for the "I forgot how to checkbox" glitch |
0199010
to
c7256d8
Compare
Something to play with. Not very well tested yet.
Something to look at: