commit | 862b9641e39997f5189dadf0f0c6776f911f344e | [log] [tgz] |
---|---|---|
author | Ben Kwa <kenobi@google.com> | Mon Dec 07 13:25:27 2015 -0800 |
committer | Ben Kwa <kenobi@google.com> | Wed Dec 16 13:54:01 2015 -0800 |
tree | 9dec0c03b7440c5349ec6c898978d087baa89c09 | |
parent | db65cd5e48e847e99cc64bf79a2fb7fe3bbfd31a [diff] |
Re-enable sorting in the DirectoryFragment. - Move sorting from the back-end (using SortingCursorWrapper) to the the front-end (in DocumentsAdapter). This makes it such that re-sorting the directory contents doesn't necessitate a reload. - Update DirectoryLoaders to just return unsorted results, and rely on the UI to sort them. - Remove the (now-unused) SortingCursorWrapper. - Update Model tests to test sorting. BUG=26024369 Change-Id: I871cc0e496267d381ae546e0309125d04649415a