straw/app/src
Zhiheng Xu e29058412e 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
..
androidTest/java/org/schabi/newpipe Fix tests 2021-03-12 23:21:54 +01:00
debug Merge branch 'dev' into daynight 2021-04-03 00:08:26 +03:00
main Refactor shuffle and update documentation 2021-05-24 12:20:19 -04:00
release/res/xml Fix release build by updating icon reference 2021-04-04 09:22:42 +02:00
test Add test for setIndex 2021-05-24 12:20:19 -04:00