commit | 603a6eee11eea71cd6726babca8ece2a6a1bf2dc | [log] [tgz] |
---|---|---|
author | Yigit Boyar <yboyar@google.com> | Thu Dec 03 15:42:55 2015 -0800 |
committer | Yigit Boyar <yboyar@google.com> | Tue Dec 08 01:20:04 2015 +0000 |
tree | e84d06bad440403a56856db5a74cab1b52a5189d | |
parent | 05e928329224c044e8b84dae06b8b2f759544ce4 [diff] |
ItemTouchHelper swipe improvements This CL changes how ItemTouchHelper handles swipe. It now checks the velocity in the perpendicular direction to ensure it is not larger than current direction. It also provides APIs in the callback to modify this behavior. Bug: 26012982 Change-Id: I50716524897c65876a03c9502237599debe36055