commit | 84bd0f13bd02ea26acc937b00c050884dc7546ef | [log] [tgz] |
---|---|---|
author | Garfield Tan <xutan@google.com> | Mon Sep 12 14:18:32 2016 -0700 |
committer | Garfield Tan <xutan@google.com> | Tue Sep 13 15:57:02 2016 -0700 |
tree | c3929141d78f737c50b0ceb3b0f5100df4814a8c | |
parent | ba7e6c4d145d678968dd3cc5bf3469b357d91524 [diff] |
Refactor SelectionModeListener. * Move ActionMode logic into a new class ActionModeController * Move SelectionDetails logic into MultiSelectionController * Merge canSelect() and onBeforeItemStateChange() * Add some basic unit tests for selecting unselectable items * Fix a bug that selects unselectable items using gestural selection * Convert MultiSelectManagerTests to JUnit4 Change-Id: I14642178ff39e7b990cc9f3fb0d9f40e6309e087