1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-06-26 15:13:20 +00:00
NewPipe/app/src/main/java/org/schabi/newpipe/player/playqueue
Zhiheng Xu e1a6347c4e Refactor shuffle and update documentation
- Add early return for invalid sizes to shuffle

 - Rename variables to be more descriptive

 - Refactor moving list element, removing unnecessary operations

 - Unwrap if clause for adding to history because the condition is
   guaranteed by the guard clause

 - Inline the value 0 for the ReorderEvent

 - Update documentation to reflect new changes
2021-05-24 12:20:19 -04:00
..
events Do not remove items generating errors form queue 2020-05-31 14:06:22 +02:00
AbstractInfoPlayQueue.java Merge pull request #4961 from TeamNewPipe/lint 2020-12-07 11:19:01 +01:00
ChannelPlayQueue.java Update most dependencies 2020-11-22 14:03:10 +01:00
PlaylistPlayQueue.java Update most dependencies 2020-11-22 14:03:10 +01:00
PlayQueue.java Refactor shuffle and update documentation 2021-05-24 12:20:19 -04:00
PlayQueueAdapter.java Update most dependencies 2020-11-22 14:03:10 +01:00
PlayQueueItem.java Update most dependencies 2020-11-22 14:03:10 +01:00
PlayQueueItemBuilder.java Don't rearrange lists by dragging the thumbnails 2020-10-17 16:25:06 +02:00
PlayQueueItemHolder.java Improve code style to be more consistent 2020-04-02 15:57:50 +02:00
PlayQueueItemTouchCallback.java Improve code style to be more consistent 2020-04-02 15:57:50 +02:00
SinglePlayQueue.java Use final where possible 2020-08-16 10:25:09 +02:00