79f19550856a1e90f90f1c103c404b6163e92c0f |
|
22-Feb-2016 |
Yigit Boyar <yboyar@google.com> |
Clarify ItemTouchHelper and SimpleItemAnimator docs Bug: 27278066 Bug: 26731186 Change-Id: Iecbbbb0427b0f6685752218d87181c1157b060c3
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ItemTouchHelper.java
|
a56b4b40d7b5c30010a8c4467e13b41213a192e8 |
|
28-Dec-2015 |
Yigit Boyar <yboyar@google.com> |
API Review fix. Also fixed some styles. Bug: 26160952 Change-Id: I8d5f5fe2f24a43b6bdce7fc7908a3870b09e5e15
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ItemTouchHelper.java
|
603a6eee11eea71cd6726babca8ece2a6a1bf2dc |
|
04-Dec-2015 |
Yigit Boyar <yboyar@google.com> |
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
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ItemTouchHelper.java
|
204cead713431632c2037ac027f4dbfa162d7d03 |
|
20-Oct-2015 |
Yigit Boyar <yboyar@google.com> |
Allow swiped view recycling ASAP This CL fixes a bug in ItemTouchHelper where it would assume that the swiped view will be removed by the RecyclerView even if its animation count does not reach 0. This was a bad assumption and broke w/ the RecyclerView cleanups. This CL changes ItemTouchHelper to allow view's recycling instantly but do the cleanup when the view is detached (e.g. all other animations etc. allows it to be removed). This CL also fixes a bug in ItemAnimatorV2 test where it would call dispatch end twice for change animations. Bug: 25037922 Change-Id: I8c264ef1c7a89cb03f967796a0e14739f9e1945b
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ItemTouchHelper.java
|
c0459105252a3db52bc44ad62ecff4288860180d |
|
05-May-2015 |
Yigit Boyar <yboyar@google.com> |
Export UI Compat class used by ItemTouchHelper If a developer wants to customize item touch interactions, they cannot use ItemTouchUICompat anymore so they have to handle translation, cleanup, API checks etc manually. This CL renames it to ItemTouchUIUtil, changes its API to work with views instead of ViewHolders and also makes it public. This way, developers can easly change which child views receive automatic changes. (e.g. only swipe the contents not the background). Bug: 20824812 Change-Id: I6303c270d398e21fb549ed5627dc175de10a3487
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ItemTouchHelper.java
|
e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950 |
|
06-Jan-2015 |
Yigit Boyar <yboyar@google.com> |
Item touch interactions helper class Notice: TBR, APIs may change This CL adds a component that can attach to any RecyclerView and add support for Drag & Drop and Swiping. It assumes some defaults based on the scroll orientation of the LayoutManager but can also be extended to customize behavior. Bug: 18889496 Change-Id: I7aede2084efa599552e053596661fa58b2685d10
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ItemTouchHelper.java
|