commit | b8a5e08119c75b65ccecea8b6a59f2c87ea8ff32 | [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 | c432175a8f5a058788df133df395ef2da0e03282 | |
parent | da858bfcfacd749517324cdc8e48f7a7e8b4e240 [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